mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Update tests to the new --roots format
This commit is contained in:
parent
4f4391193c
commit
115e2c8c67
@ -7,7 +7,7 @@ outPath=$(nix-store -rvv "$drvPath")
|
||||
rm -f "$NIX_STATE_DIR"/gcroots/foo
|
||||
ln -sf $outPath "$NIX_STATE_DIR"/gcroots/foo
|
||||
|
||||
[ "$(nix-store -q --roots $outPath)" = "$NIX_STATE_DIR"/gcroots/foo ]
|
||||
[ "$(nix-store -q --roots $outPath)" = "$NIX_STATE_DIR/gcroots/foo -> $outPath" ]
|
||||
|
||||
nix-store --gc --print-roots | grep $outPath
|
||||
nix-store --gc --print-live | grep $outPath
|
||||
|
Loading…
Reference in New Issue
Block a user