replace ${stdenv.cc.cc}/lib occurences

This commit is contained in:
Nikolay Amiantov
2016-05-01 00:13:23 +03:00
parent 3994a236bb
commit 87ebab128a
30 changed files with 48 additions and 48 deletions
@@ -49,7 +49,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.out}/lib" \
--set-rpath "${stdenv.cc.cc.lib}/lib/:${stdenv.cc.cc.lib}/lib64/:${zlib.out}/lib" \
"$out/bin/cargo"
'' else "") + postInstall;
}