From 579404c4a57e0c79c62fc1b1993485bb9c060a68 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 25 Sep 2020 12:37:39 +0200 Subject: [PATCH] virtualbox: re-add support for virtio For some reason the original source tarball for version 6.1.14 didn't bundle the sources for `virtio`-support causing a build-failure. After this was reported, a new tarball named `VirtualBox-6.1.14a.tar.bz2` was published which fixes the issue[1]. [1] https://www.virtualbox.org/ticket/19862 --- pkgs/applications/virtualization/virtualbox/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix index 72cbb8b81f8c..c320eca0bbee 100644 --- a/pkgs/applications/virtualization/virtualbox/default.nix +++ b/pkgs/applications/virtualization/virtualbox/default.nix @@ -24,6 +24,7 @@ let # Use maintainers/scripts/update.nix to update the version and all related hashes or # change the hashes in extpack.nix and guest-additions/default.nix as well manually. version = "6.1.14"; + tarballVersion = "${version}a"; iasl' = iasl.overrideAttrs (old: rec { inherit (old) pname; @@ -39,8 +40,8 @@ in stdenv.mkDerivation { inherit version; src = fetchurl { - url = "https://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2"; - sha256 = "91fa05bcfce36316ca93e3927c9550ea66286fff4c5bec900b753fca278ce1a0"; + url = "https://download.virtualbox.org/virtualbox/${version}/VirtualBox-${tarballVersion}.tar.bz2"; + sha256 = "16f3cb83ab3c4dacf2a9d3cc638cbd18db23767828bba6b8ba1c1b57abeb6aef"; }; outputs = [ "out" "modsrc" ]; @@ -120,8 +121,6 @@ in stdenv.mkDerivation { NIX_CFLAGS_COMPILE=$(echo "$NIX_CFLAGS_COMPILE" | sed 's,\-isystem ${lib.getDev stdenv.cc.libc}/include,,g') cat >> LocalConfig.kmk <