curl: enable ca-bundle if activated http3 protocol

main
Izorkin 2 years ago
parent 4de6cbc904
commit a6a8731dc7
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09
  1. 3
      pkgs/tools/networking/curl/default.nix

@ -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")

Loading…
Cancel
Save