diff options
author | Will Dietz <w@wdtz.org> | 2018-01-17 17:28:09 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-02-13 09:44:47 -0600 |
commit | 1ac2b797459e76432219c4d2ec9c1aea9cca4a8b (patch) | |
tree | 68b01816677f095a048093e4e69034f4360ed087 /pkgs/servers/squid | |
parent | 54b3967edc6d83e5c43f4d100a51dc8be8d95b33 (diff) |
squid{,4}: only enable netfilter bits on non-musl
Diffstat (limited to 'pkgs/servers/squid')
-rw-r--r-- | pkgs/servers/squid/4.nix | 4 | ||||
-rw-r--r-- | pkgs/servers/squid/default.nix | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/servers/squid/4.nix b/pkgs/servers/squid/4.nix index 4a4502a693933..777e910038a86 100644 --- a/pkgs/servers/squid/4.nix +++ b/pkgs/servers/squid/4.nix @@ -27,9 +27,7 @@ stdenv.mkDerivation rec { "--enable-removal-policies=lru,heap" "--enable-delay-pools" "--enable-x-accelerator-vary" - ] ++ stdenv.lib.optionals stdenv.isLinux [ - "--enable-linux-netfilter" - ]; + ] ++ stdenv.lib.optional (stdenv.isLinux && !stdenv.hostPlatform.isMusl) "--enable-linux-netfilter"; meta = with stdenv.lib; { description = "A caching proxy for the Web supporting HTTP, HTTPS, FTP, and more"; diff --git a/pkgs/servers/squid/default.nix b/pkgs/servers/squid/default.nix index 95f4233df10e6..8d39fbbcef447 100644 --- a/pkgs/servers/squid/default.nix +++ b/pkgs/servers/squid/default.nix @@ -36,9 +36,7 @@ stdenv.mkDerivation rec { "--enable-removal-policies=lru,heap" "--enable-delay-pools" "--enable-x-accelerator-vary" - ] ++ stdenv.lib.optionals stdenv.isLinux [ - "--enable-linux-netfilter" - ]; + ] ++ stdenv.lib.optional (stdenv.isLinux && !stdenv.hostPlatform.isMusl) "--enable-linux-netfilter"; meta = with stdenv.lib; { description = "A caching proxy for the Web supporting HTTP, HTTPS, FTP, and more"; |