From eea4af1c4cc7e885f66b1a804be0246c7ad63d1a Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 13 Sep 2016 07:24:58 +0200 Subject: [PATCH] nixos/virtualbox-image: Fix path to virtualbox VirtualBox user space binaries now no longer reside in linuxPackages, so let's use the package for the real user space binaries instead. Tested using the following command: nix-build nixos/release.nix -A ova.x86_64-linux Signed-off-by: aszlig --- nixos/modules/virtualisation/virtualbox-image.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/virtualbox-image.nix b/nixos/modules/virtualisation/virtualbox-image.nix index b6a5b3e4788d..d68b3bb73904 100644 --- a/nixos/modules/virtualisation/virtualbox-image.nix +++ b/nixos/modules/virtualisation/virtualbox-image.nix @@ -34,7 +34,7 @@ in { postVM = '' export HOME=$PWD - export PATH=${pkgs.linuxPackages.virtualbox}/bin:$PATH + export PATH=${pkgs.virtualbox}/bin:$PATH echo "creating VirtualBox pass-through disk wrapper (no copying invovled)..." VBoxManage internalcommands createrawvmdk -filename disk.vmdk -rawdisk $diskImage