curl: fixup build on darwin after update

> checking for connect in libraries... cannot find connect
> configure: error: cannot find connect function in libraries.
This commit is contained in:
Tobias Mayer 2023-10-13 10:37:13 +02:00 committed by Vladimír Čunát
parent 667dcd799d
commit c2cce178fa
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -26,6 +26,8 @@
, zlibSupport ? true, zlib
, zstdSupport ? false, zstd
, darwin
# for passthru.tests
, coeurl
, curlpp
@ -70,6 +72,10 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ pkg-config perl ];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
];
# Zlib and OpenSSL must be propagated because `libcurl.la' contains
# "-lz -lssl", which aren't necessary direct build inputs of
# applications that use Curl.