diff options
Diffstat (limited to 'nixos/tests/nix-ld.nix')
-rw-r--r-- | nixos/tests/nix-ld.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/nix-ld.nix b/nixos/tests/nix-ld.nix index 5c886182d96..ae5297ab87e 100644 --- a/nixos/tests/nix-ld.nix +++ b/nixos/tests/nix-ld.nix @@ -6,7 +6,7 @@ import ./make-test-python.nix ({ lib, pkgs, ...} : environment.systemPackages = [ (pkgs.runCommand "patched-hello" {} '' install -D -m755 ${pkgs.hello}/bin/hello $out/bin/hello - patchelf $out/bin/hello --set-interpreter ${pkgs.nix-ld.ldPath} + patchelf $out/bin/hello --set-interpreter $(cat ${pkgs.nix-ld}/nix-support/ldpath) '') ]; }; |