misc pkgs: Use $NIX_BINUTILS for when needed

Certain files are now only there instead of $NIX_CC (some are in both)
This commit is contained in:
John Ericson
2017-09-01 11:44:55 -04:00
parent 40e9b2a7e6
commit 3f30cffa55
155 changed files with 189 additions and 186 deletions
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
for f in $out/bin/*; do
if isELF "$f"; then
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$f"
patchelf --set-interpreter "$(cat $NIX_BINUTILS/nix-support/dynamic-linker)" "$f"
patchelf --set-rpath "$out/lib" "$f"
fi
done