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
+1 -1
View File
@@ -87,7 +87,7 @@ in stdenv.mkDerivation rec {
# Create wrappers
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/bin/clinfo
patchelf --set-rpath ${stdenv.cc.cc}/lib64:${stdenv.cc.cc}/lib $out/bin/clinfo
patchelf --set-rpath ${stdenv.cc.cc.lib}/lib64:${stdenv.cc.cc.lib}/lib $out/bin/clinfo
# Fix modes
find "$out/" -type f -exec chmod 644 {} \;