Merge pull request #42415 from LnL7/darwin-curl-ca

curl: disable default CA bundle
This commit is contained in:
xeji 2018-06-25 00:43:10 +02:00 committed by GitHub
commit 6806fb5e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,10 @@ stdenv.mkDerivation rec {
'';
configureFlags = [
# Disable default CA bundle, use NIX_SSL_CERT_FILE or fallback
# to nss-cacert from the default profile.
"--without-ca-bundle"
"--without-ca-path"
"--with-ca-fallback"
"--disable-manual"
( if sslSupport then "--with-ssl=${openssl.dev}" else "--without-ssl" )