From 241ced7dab776537c041afead5b8f33e229bbce5 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sun, 3 Sep 2017 11:39:16 -0400 Subject: nixos/hardware/raid/hpsa: Use NIX_BINUTILS NIX_CC no longer includes nix-support/dynamic-linker --- nixos/modules/hardware/raid/hpsa.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/hardware/raid') diff --git a/nixos/modules/hardware/raid/hpsa.nix b/nixos/modules/hardware/raid/hpsa.nix index 1b4b1fa1954..55c66336a55 100644 --- a/nixos/modules/hardware/raid/hpsa.nix +++ b/nixos/modules/hardware/raid/hpsa.nix @@ -24,7 +24,7 @@ let for file in $out/bin/*; do 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 ]} \ $file done -- cgit 1.4.1