about summary refs log tree commit diff
path: root/nixos/tests/switch-test.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-04-07 07:25:48 +0100
committerJörg Thalheim <joerg@thalheim.io>2020-04-07 07:26:47 +0100
commitcf3328e7e3c9ff3e878f5ac8f7d19ba98732942a (patch)
tree7d430c867c37d40d478b95157b6eb071566ffb62 /nixos/tests/switch-test.nix
parent5040cd56b00029335ed5652841da664745b1e195 (diff)
treewide: use runtimeShell in nixos/
This is needed for cross-compilation.
Diffstat (limited to 'nixos/tests/switch-test.nix')
-rw-r--r--nixos/tests/switch-test.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/switch-test.nix b/nixos/tests/switch-test.nix
index 7076bd77b770a..9ef96cec5ef36 100644
--- a/nixos/tests/switch-test.nix
+++ b/nixos/tests/switch-test.nix
@@ -22,7 +22,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
     # Ensures failures pass through using pipefail, otherwise failing to
     # switch-to-configuration is hidden by the success of `tee`.
     stderrRunner = pkgs.writeScript "stderr-runner" ''
-      #! ${pkgs.stdenv.shell}
+      #! ${pkgs.runtimeShell}
       set -e
       set -o pipefail
       exec env -i "$@" | tee /dev/stderr