about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-12-19 16:26:02 +0000
committerGitHub <noreply@github.com>2022-12-19 16:26:02 +0000
commit9bf4ec690947311dd0b080bb8d86a3019d5f4f24 (patch)
treeedbfbe6de9f92d03ac5d1d7432992788258ca3f6 /nixos/tests
parent1c387ed1a698417c3ccfe933f1c742279361ae17 (diff)
parentaa65dd1225b268a0ed3631b20c812aea16c18d37 (diff)
Merge pull request #206645 from Mic92/nix-ld
nixos/nix-ld: set NIX_LD by default
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/nix-ld.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/nixos/tests/nix-ld.nix b/nixos/tests/nix-ld.nix
index ae5297ab87eaa..8733f5b0c3978 100644
--- a/nixos/tests/nix-ld.nix
+++ b/nixos/tests/nix-ld.nix
@@ -12,9 +12,6 @@ import ./make-test-python.nix ({ lib, pkgs, ...} :
   };
   testScript = ''
     start_all()
-    path = "${pkgs.stdenv.cc}/nix-support/dynamic-linker"
-    with open(path) as f:
-        real_ld = f.read().strip()
-    machine.succeed(f"NIX_LD={real_ld} hello")
+    machine.succeed("hello")
  '';
 })