summary refs log tree commit diff
path: root/nixos/tests/systemd.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/systemd.nix
parent5040cd56b00029335ed5652841da664745b1e195 (diff)
downloadnixpkgs-cf3328e7e3c9ff3e878f5ac8f7d19ba98732942a.tar
nixpkgs-cf3328e7e3c9ff3e878f5ac8f7d19ba98732942a.tar.gz
nixpkgs-cf3328e7e3c9ff3e878f5ac8f7d19ba98732942a.tar.bz2
nixpkgs-cf3328e7e3c9ff3e878f5ac8f7d19ba98732942a.tar.lz
nixpkgs-cf3328e7e3c9ff3e878f5ac8f7d19ba98732942a.tar.xz
nixpkgs-cf3328e7e3c9ff3e878f5ac8f7d19ba98732942a.tar.zst
nixpkgs-cf3328e7e3c9ff3e878f5ac8f7d19ba98732942a.zip
treewide: use runtimeShell in nixos/
This is needed for cross-compilation.
Diffstat (limited to 'nixos/tests/systemd.nix')
-rw-r--r--nixos/tests/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/systemd.nix b/nixos/tests/systemd.nix
index 8028145939b..ca2e36a443e 100644
--- a/nixos/tests/systemd.nix
+++ b/nixos/tests/systemd.nix
@@ -22,7 +22,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
     test-support.displayManager.auto.user = "alice";
 
     systemd.shutdown.test = pkgs.writeScript "test.shutdown" ''
-      #!${pkgs.stdenv.shell}
+      #!${pkgs.runtimeShell}
       PATH=${lib.makeBinPath (with pkgs; [ utillinux coreutils ])}
       mount -t 9p shared -o trans=virtio,version=9p2000.L /tmp/shared
       touch /tmp/shared/shutdown-test