summary refs log tree commit diff
path: root/pkgs/tools/networking/curl
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-09-07 00:59:03 +0000
committerLuke Granger-Brown <git@lukegb.com>2021-09-07 01:10:33 +0000
commit4e1b102af618fc3e8da11da8a0cea28e5c104f3a (patch)
tree4aabcc17cbe130dbbb5f890e3f954fd1c1e08712 /pkgs/tools/networking/curl
parent4cc9b841182fe88ece2d33a77e6937458a0f9fa9 (diff)
downloadnixpkgs-4e1b102af618fc3e8da11da8a0cea28e5c104f3a.tar
nixpkgs-4e1b102af618fc3e8da11da8a0cea28e5c104f3a.tar.gz
nixpkgs-4e1b102af618fc3e8da11da8a0cea28e5c104f3a.tar.bz2
nixpkgs-4e1b102af618fc3e8da11da8a0cea28e5c104f3a.tar.lz
nixpkgs-4e1b102af618fc3e8da11da8a0cea28e5c104f3a.tar.xz
nixpkgs-4e1b102af618fc3e8da11da8a0cea28e5c104f3a.tar.zst
nixpkgs-4e1b102af618fc3e8da11da8a0cea28e5c104f3a.zip
curl: reenable ca-fallback when not using wolfsslSupport
904625852d535bbe53cadb006c9e1137ab481818 accidentally swapped the
behaviour, and enabled ca-fallback when using wolfssl and disabled it
without. This effectively disables curl's ability to use the built in CA
stack.
Diffstat (limited to 'pkgs/tools/networking/curl')
-rw-r--r--pkgs/tools/networking/curl/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix
index 5dba94abe35..aee0668c7f2 100644
--- a/pkgs/tools/networking/curl/default.nix
+++ b/pkgs/tools/networking/curl/default.nix
@@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
       "--without-ca-bundle"
       "--without-ca-path"
       # The build fails when using wolfssl with --with-ca-fallback
-      (lib.withFeature wolfsslSupport "ca-fallback")
+      (lib.withFeature (!wolfsslSupport) "ca-fallback")
       "--disable-manual"
       (lib.withFeatureAs sslSupport "ssl" openssl.dev)
       (lib.withFeatureAs gnutlsSupport "gnutls" gnutls.dev)