nixos/nix-ld: set NIX_LD by default

This commit is contained in:
Jörg Thalheim
2022-12-18 01:35:04 +01:00
parent a4807c14ff
commit 4ce47012a6
2 changed files with 61 additions and 6 deletions

View File

@@ -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")
'';
})