From c4d720c3d117717f115277ec13e2c9b0888ab985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 28 Apr 2009 15:41:51 +0000 Subject: [PATCH] Curl: Propagate Zlib and OpenSSL. svn path=/nixpkgs/trunk/; revision=15381 --- pkgs/tools/networking/curl/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index 0f758087f207..a29b8de1987d 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -11,7 +11,10 @@ stdenv.mkDerivation rec { sha256 = "11myjjvx1bjl709bgibv8pb1sjf4cicim16k860qzg7d1ll3cd7v"; }; - buildInputs = + # Zlib and OpenSSL must be propagated because `libcurl.la' contains + # "-lz -lssl", which aren't necessary direct build inputs of + # applications that use Curl. + propagatedBuildInputs = stdenv.lib.optional zlibSupport zlib ++ stdenv.lib.optional sslSupport openssl;