mirror of
https://github.com/NixOS/nix
synced 2025-07-08 19:23:54 +02:00
Test the NAR info cache
This commit is contained in:
parent
3593c8285d
commit
bac123ddd9
6 changed files with 25 additions and 29 deletions
|
@ -6,8 +6,7 @@ clearProfiles
|
|||
# Query installed: should be empty.
|
||||
test "$(nix-env -p $profiles/test -q '*' | wc -l)" -eq 0
|
||||
|
||||
export HOME=$TEST_ROOT/home
|
||||
mkdir -p $HOME
|
||||
mkdir -p $TEST_HOME
|
||||
nix-env --switch-profile $profiles/test
|
||||
|
||||
# Query available: should contain several.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue