squid{,4}: only enable netfilter bits on non-musl
This commit is contained in:
@@ -27,9 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-removal-policies=lru,heap"
|
"--enable-removal-policies=lru,heap"
|
||||||
"--enable-delay-pools"
|
"--enable-delay-pools"
|
||||||
"--enable-x-accelerator-vary"
|
"--enable-x-accelerator-vary"
|
||||||
] ++ stdenv.lib.optionals stdenv.isLinux [
|
] ++ stdenv.lib.optional (stdenv.isLinux && !stdenv.hostPlatform.isMusl) "--enable-linux-netfilter";
|
||||||
"--enable-linux-netfilter"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A caching proxy for the Web supporting HTTP, HTTPS, FTP, and more";
|
description = "A caching proxy for the Web supporting HTTP, HTTPS, FTP, and more";
|
||||||
|
|||||||
@@ -36,9 +36,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-removal-policies=lru,heap"
|
"--enable-removal-policies=lru,heap"
|
||||||
"--enable-delay-pools"
|
"--enable-delay-pools"
|
||||||
"--enable-x-accelerator-vary"
|
"--enable-x-accelerator-vary"
|
||||||
] ++ stdenv.lib.optionals stdenv.isLinux [
|
] ++ stdenv.lib.optional (stdenv.isLinux && !stdenv.hostPlatform.isMusl) "--enable-linux-netfilter";
|
||||||
"--enable-linux-netfilter"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A caching proxy for the Web supporting HTTP, HTTPS, FTP, and more";
|
description = "A caching proxy for the Web supporting HTTP, HTTPS, FTP, and more";
|
||||||
|
|||||||
Reference in New Issue
Block a user