···1313 };
14141515 disableScript = pkgs.writeScript "audit-disable" ''
1616- #!${pkgs.stdenv.shell} -eu
1616+ #!${pkgs.runtimeShell} -eu
1717 # Explicitly disable everything, as otherwise journald might start it.
1818 auditctl -D
1919 auditctl -e 0 -a task,never
···2323 # put in the store like this. At the same time, it doesn't feel like a huge deal and working
2424 # around that is a pain so I'm leaving it like this for now.
2525 startScript = pkgs.writeScript "audit-start" ''
2626- #!${pkgs.stdenv.shell} -eu
2626+ #!${pkgs.runtimeShell} -eu
2727 # Clear out any rules we may start with
2828 auditctl -D
2929···4343 '';
44444545 stopScript = pkgs.writeScript "audit-stop" ''
4646- #!${pkgs.stdenv.shell} -eu
4646+ #!${pkgs.runtimeShell} -eu
4747 # Clear the rules
4848 auditctl -D
4949
···1414 # ExecStart= command with '@' doesn't work because we start a shell (new
1515 # process) that creates a new argv[0].)
1616 geoip-updater = pkgs.writeScriptBin "geoip-updater" ''
1717- #!${pkgs.stdenv.shell}
1717+ #!${pkgs.runtimeShell}
1818 skipExisting=0
1919 debug()
2020 {
+1-1
nixos/modules/services/misc/gitit.nix
···1717 gititSh = hsPkgs: extras: with pkgs; let
1818 env = gititWithPkgs hsPkgs extras;
1919 in writeScript "gitit" ''
2020- #!${stdenv.shell}
2020+ #!${runtimeShell}
2121 cd $HOME
2222 export NIX_GHC="${env}/bin/ghc"
2323 export NIX_GHCPKG="${env}/bin/ghc-pkg"
···3030 # /bin/sh in the sandbox as a bind-mount to bash. This means we
3131 # also need to include the entire closure of bash. Nix >= 2.0
3232 # provides a /bin/sh by default.
3333- sh = pkgs.stdenv.shell;
3333+ sh = pkgs.runtimeShell;
3434 binshDeps = pkgs.writeReferencesToFile sh;
3535 in
3636 pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; inherit binshDeps; } ''
···88 # in nixpkgs doesn't seem to work properly on NixOS, so let's just fake the two fields SSM
99 # looks for. See https://github.com/aws/amazon-ssm-agent/issues/38 for upstream fix.
1010 fake-lsb-release = pkgs.writeScriptBin "lsb_release" ''
1111- #!${pkgs.stdenv.shell}
1111+ #!${pkgs.runtimeShell}
12121313 case "$1" in
1414 -i) echo "nixos";;