3
0
Fork 0
forked from mirrors/nixpkgs

curl: enable ca-bundle if activated http3 protocol

This commit is contained in:
Izorkin 2022-04-17 16:05:13 +03:00
parent 4de6cbc904
commit a6a8731dc7
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

View file

@ -110,7 +110,8 @@ stdenv.mkDerivation rec {
"--disable-manual"
# Disable default CA bundle, use NIX_SSL_CERT_FILE or fallback
# to nss-cacert from the default profile.
"--without-ca-bundle"
# https://github.com/curl/curl/issues/8696 - fallback is not supported by HTTP3
(if http3Support then "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" else "--without-ca-bundle")
"--without-ca-path"
(lib.enableFeature c-aresSupport "ares")
(lib.enableFeature ldapSupport "ldap")