diff options
Diffstat (limited to 'pkgs/tools/networking/curl')
-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. |