nixosTest.nix-upgrade: try to garbage collect with old nix
This commit is contained in:
parent
d01abc5602
commit
33b5aab88f
@ -101,5 +101,8 @@ pkgs.testers.nixosTest {
|
||||
|
||||
with subtest("nix-build-with-new-daemon"):
|
||||
machine.succeed("runuser -u alice -- nix build --expr 'derivation {name =\"test-new\"; system = \"${pkgs.system}\";builder = \"/bin/sh\"; args = [\"-c\" \"echo test > $out\"];}' --print-out-paths")
|
||||
|
||||
with subtest("nix-collect-garbage-with-old-nix"):
|
||||
machine.succeed("${nixVersions.stable}/bin/nix-collect-garbage")
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user