about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-12-18 01:35:04 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-12-19 17:06:41 +0100
commit4ce47012a6f5f6c1c65f370fd06d33a81c2df332 (patch)
treed79eff23a37ee892d7fd3d2957a6a01b868454f1 /nixos/tests
parenta4807c14ff849569d243a187ed01c2ff0cec92fc (diff)
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")
  '';
 })