Merge pull request #42415 from LnL7/darwin-curl-ca
curl: disable default CA bundle
commit6806fb5e48d5727042cb3543311244d7153fc551
authorxeji <36407913+xeji@users.noreply.github.com>
dateMon 25 Jun 2018, 00:43 (8 years ago)
parent52493d6288939c
pkgs/tools/networking/curl/default.nix+4
@@ -63,6 +63,10 @@ stdenv.mkDerivation rec {
6363 '';
6464
6565 configureFlags = [
66+ # Disable default CA bundle, use NIX_SSL_CERT_FILE or fallback
67+ # to nss-cacert from the default profile.
68+ "--without-ca-bundle"
69+ "--without-ca-path"
6670 "--with-ca-fallback"
6771 "--disable-manual"
6872 ( if sslSupport then "--with-ssl=${openssl.dev}" else "--without-ssl" )