replace ${stdenv.cc.cc}/lib occurences
This commit is contained in:
@@ -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 {} \;
|
||||
|
||||
Reference in New Issue
Block a user