curl: fix rustls ca-certificates detection (#331754)
This commit is contained in:
commit
cda8a98a72
@ -149,6 +149,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--without-ca-path"
|
||||
] ++ lib.optionals (!gnutlsSupport && !opensslSupport && !wolfsslSupport && !rustlsSupport) [
|
||||
"--without-ssl"
|
||||
] ++ lib.optionals (rustlsSupport && !stdenv.isDarwin) [
|
||||
"--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
|
||||
] ++ lib.optionals (gnutlsSupport && !stdenv.isDarwin) [
|
||||
"--with-ca-path=/etc/ssl/certs"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user