summary refs log tree commit diff
path: root/nixos/modules/services/networking/nftables.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-03-01 14:38:53 -0500
committerShea Levy <shea@shealevy.com>2018-03-01 14:38:53 -0500
commitfec543436d4d35dacde01a9e8b69a2781841f901 (patch)
treeb44b65ddbc7482e767d562f3f27c523c9ffbfcc0 /nixos/modules/services/networking/nftables.nix
parente70f61f5a19b00337082ab28a5013e0b440bda92 (diff)
downloadnixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar
nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.gz
nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.bz2
nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.lz
nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.xz
nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.zst
nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.zip
nixos: Move uses of stdenv.shell to runtimeShell.
Diffstat (limited to 'nixos/modules/services/networking/nftables.nix')
-rw-r--r--nixos/modules/services/networking/nftables.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/nftables.nix b/nixos/modules/services/networking/nftables.nix
index 56b94205414..ad7c013a544 100644
--- a/nixos/modules/services/networking/nftables.nix
+++ b/nixos/modules/services/networking/nftables.nix
@@ -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