summary refs log tree commit diff
path: root/nixos/modules/hardware/raid
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/hardware/raid')
-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 55c66336a55..1b4b1fa1954 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_BINUTILS/nix-support/dynamic-linker)" \
+        patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
                  --set-rpath ${lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]} \
                  $file
       done