curl: enable brotli by default
This commit is contained in:
parent
0667f269fc
commit
e3d19670a0
2 changed files with 8 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, lib, fetchurl, pkg-config
|
||||
, bzip2, curl, expat, libarchive, xz, zlib, libuv, rhash
|
||||
, bzip2, curlMinimal, expat, libarchive, xz, zlib, libuv, rhash
|
||||
, buildPackages
|
||||
# darwin attributes
|
||||
, ps
|
||||
|
@ -50,7 +50,7 @@ stdenv.mkDerivation (rec {
|
|||
nativeBuildInputs = [ setupHook pkg-config ];
|
||||
|
||||
buildInputs = []
|
||||
++ lib.optionals useSharedLibraries [ bzip2 curl expat libarchive xz zlib libuv rhash ]
|
||||
++ lib.optionals useSharedLibraries [ bzip2 curlMinimal expat libarchive xz zlib libuv rhash ]
|
||||
++ lib.optional useOpenSSL openssl
|
||||
++ lib.optional useNcurses ncurses
|
||||
++ lib.optional useQt4 qt4
|
||||
|
|
|
@ -410,7 +410,7 @@ in
|
|||
else makeOverridable (import ../build-support/fetchurl) {
|
||||
inherit lib stdenvNoCC buildPackages;
|
||||
inherit cacert;
|
||||
curl = buildPackages.curl.override (old: rec {
|
||||
curl = buildPackages.curlMinimal.override (old: rec {
|
||||
# break dependency cycles
|
||||
fetchurl = stdenv.fetchurlBoot;
|
||||
zlib = buildPackages.zlib.override { fetchurl = stdenv.fetchurlBoot; };
|
||||
|
@ -3426,13 +3426,16 @@ in
|
|||
cudnn = cudnn_cudatoolkit_10;
|
||||
|
||||
curlFull = curl.override {
|
||||
idnSupport = true;
|
||||
ldapSupport = true;
|
||||
};
|
||||
|
||||
curl = curlMinimal.override {
|
||||
idnSupport = true;
|
||||
gssSupport = true;
|
||||
brotliSupport = true;
|
||||
};
|
||||
|
||||
curl = callPackage ../tools/networking/curl { };
|
||||
curlMinimal = callPackage ../tools/networking/curl { };
|
||||
|
||||
curl_unix_socket = callPackage ../tools/networking/curl-unix-socket { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue