nixos: Move uses of stdenv.shell to runtimeShell.

This commit is contained in:
Shea Levy 2018-03-01 14:38:53 -05:00
parent e70f61f5a1
commit fec543436d
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27
41 changed files with 57 additions and 57 deletions

View file

@ -169,7 +169,7 @@ in {
mkdir -p ${runDir}/ipsec/{etc/racoon,etc/init.d/,usr/sbin/}
ln -fs ${pkgs.ipsecTools}/bin/setkey ${runDir}/ipsec/usr/sbin/setkey
ln -fs ${pkgs.writeScript "racoon-restart" ''
#!${pkgs.stdenv.shell}
#!${pkgs.runtimeShell}
/var/run/current-system/sw/bin/systemctl $1 racoon
''} ${runDir}/ipsec/etc/init.d/racoon
'';