From a7f52f8233e900275ada01ef46d7eaf54c9f302b Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 14 Oct 2009 15:26:42 +0000 Subject: [PATCH] Fixed building of VirtualBox guest additions on x86-64 svn path=/nixpkgs/trunk/; revision=17806 --- .../virtualization/virtualbox/guest-additions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix index 676e4c947d8..0a6c988c0b4 100644 --- a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix +++ b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation { KERN_DIR = "${kernel}/lib/modules/*/build"; buildInputs = [ patchelf cdrkit ]; buildCommand = '' - isoinfo -J -i $src -x /VBoxLinuxAdditions-x86.run > ./VBoxLinuxAdditions-x86.run - ${if stdenv.system == "i686-linux" then '' + isoinfo -J -i $src -x /VBoxLinuxAdditions-x86.run > ./VBoxLinuxAdditions-x86.run chmod 755 ./VBoxLinuxAdditions-x86.run ./VBoxLinuxAdditions-x86.run --noexec --keep '' else if stdenv.system == "x86_64-linux" then '' + isoinfo -J -i $src -x /VBoxLinuxAdditions-amd64.run > ./VBoxLinuxAdditions-amd64.run chmod 755 ./VBoxLinuxAdditions-amd64.run ./VBoxLinuxAdditions-amd64.run --noexec --keep ''