Merge pull request #222796 from SFrijters/curl-without-ssl

curl: fix build without TLS
This commit is contained in:
adisbladis
2023-03-24 14:10:57 +13:00
committed by GitHub
+2
View File
@@ -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++";