aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/curl
diff options
context:
space:
mode:
authorDylan Simon <dylan@dylex.net>2019-03-25 15:04:55 -0400
committerDylan Simon <dylan@dylex.net>2019-03-25 15:04:55 -0400
commit1c3a4ef287a6c59db964e6e4de5fb88c9e1919dd (patch)
tree90f7ea0be8a956782ca1c33cd0f143cae42c2fe0 /pkgs/tools/networking/curl
parent9e693a074d0c725f575742d7b2b7318cc7ec6dee (diff)
fetchurl: use fetchurlBoot for zlib deps
Diffstat (limited to 'pkgs/tools/networking/curl')
-rw-r--r--pkgs/tools/networking/curl/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix
index b165142d85a4..45ff2947c685 100644
--- a/pkgs/tools/networking/curl/default.nix
+++ b/pkgs/tools/networking/curl/default.nix
@@ -94,6 +94,7 @@ stdenv.mkDerivation rec {
postInstall = ''
moveToOutput bin/curl-config "$dev"
+ '' + stdenv.lib.optionalString scpSupport ''
sed '/^dependency_libs/s|${libssh2.dev}|${libssh2.out}|' -i "$out"/lib/*.la
'' + stdenv.lib.optionalString gnutlsSupport ''
ln $out/lib/libcurl.so $out/lib/libcurl-gnutls.so