summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-09-03 11:39:16 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-09-03 11:39:16 -0400
commit241ced7dab776537c041afead5b8f33e229bbce5 (patch)
treedb5abb25e1f5057f813473d3f090af59166a4dc0 /nixos/modules/hardware
parent0a944b345e89ca0096974d168f49e1c6830c3fc2 (diff)
downloadnixlib-241ced7dab776537c041afead5b8f33e229bbce5.tar
nixlib-241ced7dab776537c041afead5b8f33e229bbce5.tar.gz
nixlib-241ced7dab776537c041afead5b8f33e229bbce5.tar.bz2
nixlib-241ced7dab776537c041afead5b8f33e229bbce5.tar.lz
nixlib-241ced7dab776537c041afead5b8f33e229bbce5.tar.xz
nixlib-241ced7dab776537c041afead5b8f33e229bbce5.tar.zst
nixlib-241ced7dab776537c041afead5b8f33e229bbce5.zip
nixos/hardware/raid/hpsa: Use NIX_BINUTILS
NIX_CC no longer includes nix-support/dynamic-linker
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/raid/hpsa.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/raid/hpsa.nix b/nixos/modules/hardware/raid/hpsa.nix
index 1b4b1fa1954f..55c66336a550 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