Merge pull request #222796 from SFrijters/curl-without-ssl
curl: fix build without TLS
This commit is contained in:
@@ -129,6 +129,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Without this curl might detect /etc/ssl/cert.pem at build time on macOS, causing curl to ignore NIX_SSL_CERT_FILE.
|
||||
"--without-ca-bundle"
|
||||
"--without-ca-path"
|
||||
] ++ lib.optionals (!gnutlsSupport && !opensslSupport && !wolfsslSupport) [
|
||||
"--without-ssl"
|
||||
];
|
||||
|
||||
CXX = "${stdenv.cc.targetPrefix}c++";
|
||||
|
||||
Reference in New Issue
Block a user