curl: Remove forcing static build on Windows (#349540)
This commit is contained in:
commit
fc09193ded
@ -149,10 +149,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# For the 'urandom', maybe it should be a cross-system option
|
# For the 'urandom', maybe it should be a cross-system option
|
||||||
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
|
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||||
"--with-random=/dev/urandom"
|
"--with-random=/dev/urandom"
|
||||||
++ lib.optionals stdenv.hostPlatform.isWindows [
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
"--disable-shared"
|
|
||||||
"--enable-static"
|
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
# Disable default CA bundle, use NIX_SSL_CERT_FILE or fallback to nss-cacert from the default profile.
|
# Disable default CA bundle, use NIX_SSL_CERT_FILE or fallback to nss-cacert from the default profile.
|
||||||
# Without this curl might detect /etc/ssl/cert.pem at build time on macOS, causing curl to ignore NIX_SSL_CERT_FILE.
|
# 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-bundle"
|
||||||
|
Loading…
Reference in New Issue
Block a user