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
41 changed files with 57 additions and 57 deletions
@@ -116,7 +116,7 @@ in
include "${cfg.rulesetFile}"
'';
checkScript = pkgs.writeScript "nftables-check" ''
#! ${pkgs.stdenv.shell} -e
#! ${pkgs.runtimeShell} -e
if $(${pkgs.kmod}/bin/lsmod | grep -q ip_tables); then
echo "Unload ip_tables before using nftables!" 1>&2
exit 1