A kludge to avoid removal of zlib from RPATH -- needed for LilyPond build

svn path=/nixpkgs/trunk/; revision=32046
This commit is contained in:
Michael Raskin 2012-02-06 05:49:27 +00:00
parent 109068c605
commit bc851612c9

View File

@ -28,6 +28,9 @@ stdenv.mkDerivation {
--replace /usr/include /no-such-path \
--replace /usr/lib /no-such-path \
--replace /usr/local /no-such-path \
export NIX_LDFLAGS="$NIX_LDFLAGS -lz"
'';
buildInputs =