curl: build with public suffix list support
And make sure we pass `--without-libpsl` when it is disabled. https://daniel.haxx.se/blog/2024/01/10/psl-in-curl/
This commit is contained in:
parent
301ae03634
commit
996b4ebc08
2 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
(lib.withFeature rtmpSupport "librtmp")
|
||||
(lib.withFeature rustlsSupport "rustls")
|
||||
(lib.withFeature zstdSupport "zstd")
|
||||
(lib.withFeature pslSupport "libpsl")
|
||||
(lib.withFeatureAs brotliSupport "brotli" (lib.getDev brotli))
|
||||
(lib.withFeatureAs gnutlsSupport "gnutls" (lib.getDev gnutls))
|
||||
(lib.withFeatureAs idnSupport "libidn2" (lib.getDev libidn2))
|
||||
|
|
|
@ -7346,6 +7346,7 @@ with pkgs;
|
|||
|
||||
curl = curlMinimal.override ({
|
||||
idnSupport = true;
|
||||
pslSupport = true;
|
||||
zstdSupport = true;
|
||||
} // lib.optionalAttrs (!stdenv.hostPlatform.isStatic) {
|
||||
brotliSupport = true;
|
||||
|
|
Loading…
Reference in a new issue