mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 04:13:12 +00:00
curl: fix build without TLS
Fixes "configure: error: select TLS backend(s) or disable TLS with --without-ssl." if all backends are switched off.
This commit is contained in:
parent
b9831fe22c
commit
6fce94a26c
@ -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++";
|
||||
|
Loading…
Reference in New Issue
Block a user