treewide: Mass replace 'zlib}/lib' to refer the 'out' output

This commit is contained in:
Tuomas Tynkkynen
2016-01-24 10:03:39 +02:00
parent 0f4244f51f
commit ed7dbb46a8
15 changed files with 16 additions and 16 deletions
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
./install.sh "--prefix=$out"
'' + (if stdenv.isLinux then ''
patchelf --interpreter "${stdenv.glibc.out}/lib/${stdenv.cc.dynamicLinker}" \
--set-rpath "${stdenv.cc.cc}/lib/:${stdenv.cc.cc}/lib64/:${zlib}/lib" \
--set-rpath "${stdenv.cc.cc}/lib/:${stdenv.cc.cc}/lib64/:${zlib.out}/lib" \
"$out/bin/cargo"
'' else "") + postInstall;
}