From f3ae11b096bfd522de2c1afb69a4e53b4a71d188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 14 Jun 2023 18:35:21 +0200 Subject: [PATCH] nixos/nix-ld: also test NIX_LD fallback --- nixos/tests/nix-ld.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/tests/nix-ld.nix b/nixos/tests/nix-ld.nix index 8733f5b0c397..c62c0437e04e 100644 --- a/nixos/tests/nix-ld.nix +++ b/nixos/tests/nix-ld.nix @@ -13,5 +13,8 @@ import ./make-test-python.nix ({ lib, pkgs, ...} : testScript = '' start_all() machine.succeed("hello") + + # test fallback if NIX_LD is not set + machine.succeed("unset NIX_LD; unset NIX_LD_LIBRARY_PATH; hello") ''; })