treewide: use runtimeShell in nixos/

This is needed for cross-compilation.
This commit is contained in:
Jörg Thalheim
2020-04-07 07:26:47 +01:00
parent 5040cd56b0
commit cf3328e7e3
10 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -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