nixos/hardware/raid/hpsa: Use NIX_BINUTILS
NIX_CC no longer includes nix-support/dynamic-linker
This commit is contained in:
parent
0a944b345e
commit
241ced7dab
@ -24,7 +24,7 @@ let
|
|||||||
|
|
||||||
for file in $out/bin/*; do
|
for file in $out/bin/*; do
|
||||||
chmod +w $file
|
chmod +w $file
|
||||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
patchelf --set-interpreter "$(cat $NIX_BINUTILS/nix-support/dynamic-linker)" \
|
||||||
--set-rpath ${lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]} \
|
--set-rpath ${lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]} \
|
||||||
$file
|
$file
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user