diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-04-07 07:25:48 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-04-07 07:26:47 +0100 |
commit | cf3328e7e3c9ff3e878f5ac8f7d19ba98732942a (patch) | |
tree | 7d430c867c37d40d478b95157b6eb071566ffb62 /nixos/tests/virtualbox.nix | |
parent | 5040cd56b00029335ed5652841da664745b1e195 (diff) |
treewide: use runtimeShell in nixos/
This is needed for cross-compilation.
Diffstat (limited to 'nixos/tests/virtualbox.nix')
-rw-r--r-- | nixos/tests/virtualbox.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix index f03dc1cc41384..aec8da6a2af3c 100644 --- a/nixos/tests/virtualbox.nix +++ b/nixos/tests/virtualbox.nix @@ -23,7 +23,7 @@ let guestAdditions = pkgs.linuxPackages.virtualboxGuestAdditions; miniInit = '' - #!${pkgs.stdenv.shell} -xe + #!${pkgs.runtimeShell} -xe export PATH="${lib.makeBinPath [ pkgs.coreutils pkgs.utillinux ]}" mkdir -p /run/dbus @@ -80,7 +80,7 @@ let touch /mnt-root/boot-done hostname "${vmName}" mkdir -p /nix/store - unshare -m ${escapeShellArg pkgs.stdenv.shell} -c ' + unshare -m ${escapeShellArg pkgs.runtimeShell} -c ' mount -t vboxsf nixstore /nix/store exec "$stage2Init" ' |