diff options
author | Tobias Mayer <tobim@fastmail.fm> | 2023-10-13 10:37:13 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-10-13 10:37:45 +0200 |
commit | c2cce178faa83b2bf1d9a5693d70b0d231ce66cc (patch) | |
tree | 65f27546d2042cc97d85d17c20bde36a0c5e5c94 | |
parent | 667dcd799d670e99ba4dd0e264885a01db9a758f (diff) |
curl: fixup build on darwin after update
> checking for connect in libraries... cannot find connect > configure: error: cannot find connect function in libraries.
-rw-r--r-- | pkgs/tools/networking/curl/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index c99f09e7f93a0..e9d0327363364 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -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. |