nixosTests.installer.switchToFlake: It is probably really stupid

We may want to clear NIX_PATH when channels are disabled, or maybe
it has to be a separate option.
This is just very frustrating to me.
This commit is contained in:
Robert Hensing 2024-07-16 21:44:34 +02:00
parent 46df92b270
commit 3f76dcea93

View File

@ -392,6 +392,7 @@ let
# - the "backdoor" shell is not a proper session and does not have `NIX_PATH=""` set
# - seeing no nix path settings at all, Nix loads its hardcoded default value,
# which is unfortunately non-empty
# Or maybe it's the new default NIX_PATH?? :(
# with subtest("builtins.nixPath is now empty"):
# target.succeed("""
# (