curl: disable default CA bundle
Without this curl might detect /etc/ssl/cert.pem at build time on macOS, causing curl to ignore NIX_SSL_CERT_FILE. Fixes #42317
This commit is contained in:
parent
59daa4fd62
commit
288939ce22
|
@ -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" )
|
||||
|
|
Loading…
Reference in New Issue