summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2022-05-15 21:18:54 +0100
committerGitHub <noreply@github.com>2022-05-15 21:18:54 +0100
commit1dc9931937f3736cac4698e1d010e80013864d03 (patch)
treeb1f42fdc703e6f5b1e7899818676b4672a1af3fc /nixos/tests
parentf2ebcd65092160b3a4e9aadc3733b3b5b44c8fa8 (diff)
parentd5099630b1ff16da60cd16d6175608987563a486 (diff)
downloadnixpkgs-1dc9931937f3736cac4698e1d010e80013864d03.tar
nixpkgs-1dc9931937f3736cac4698e1d010e80013864d03.tar.gz
nixpkgs-1dc9931937f3736cac4698e1d010e80013864d03.tar.bz2
nixpkgs-1dc9931937f3736cac4698e1d010e80013864d03.tar.lz
nixpkgs-1dc9931937f3736cac4698e1d010e80013864d03.tar.xz
nixpkgs-1dc9931937f3736cac4698e1d010e80013864d03.tar.zst
nixpkgs-1dc9931937f3736cac4698e1d010e80013864d03.zip
Merge pull request #173034 from Mic92/nix-ld
nix-ld: 1.0.0 -> 1.0.2
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/nix-ld.nix2
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)
       '')
     ];
   };