mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
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
@ -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 New Issue
Block a user