git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "curl: wrap binary so it can find the zlib dylib"

This reverts commit b4a5a049d814c73b9fc99f6f88fb723ba78662fb.

commitb63caa13b3da56df09a0b33813f9cd5bb3eecd86 authorJohn Wiegley <johnw@newartisans.com> dateTue 6 Jan 2015, 10:35 (12 years ago) parent7cd3ace
1 file changed−9
pkgs/tools/networking/curl/default.nix−9
pkgs/tools/networking/curl/default.nix−9
@@ -33,8 +33,6 @@ stdenv.mkDerivation rec {
3333 preConfigure = ''
3434 sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure
3535 rm src/tool_hugehelp.c
36− '' ++ stdenv.lib.optionalString stdenv.isDarwin '';
37− export DYLD_LIBRARY_PATH=${zlib}/lib:$DYLD_LIBRARY_PATH
3836 '';
3937
4038 # make curl honor CURL_CA_BUNDLE & SSL_CERT_FILE
@@ -43,19 +41,12 @@ stdenv.mkDerivation rec {
4341 '';
4442
4543 configureFlags = [
46− ( if zlibSupport then "--with-zlib=${zlib}" else "--without-zlib" )
4744 ( if sslSupport then "--with-ssl=${openssl}" else "--without-ssl" )
4845 ( if scpSupport then "--with-libssh2=${libssh2}" else "--without-libssh2" )
4946 ]
5047 ++ stdenv.lib.optional c-aresSupport "--enable-ares=${c-ares}"
5148 ++ stdenv.lib.optional gssSupport "--with-gssapi=${gss}";
5249
53− installPhase = stdenv.lib.optionalString stdenv.isDarwin ''
54− for prog in $out/bin/*; do
55− wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${zlib}/lib"
56− done
57− '';
58−
5950 CXX = "g++";
6051 CXXCPP = "g++ -E";
6152