mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Register flake-registry.json as a GC root again
This commit is contained in:
parent
1c127e6a82
commit
8aa354fdfd
2 changed files with 7 additions and 4 deletions
|
@ -269,6 +269,7 @@ nix build -o $TEST_ROOT/result $flake3Dir#sth 2>&1 | grep 'unsupported edition'
|
|||
# Test whether registry caching works.
|
||||
nix flake list --flake-registry file://$registry | grep -q flake3
|
||||
mv $registry $registry.tmp
|
||||
nix-store --gc
|
||||
nix flake list --flake-registry file://$registry --refresh | grep -q flake3
|
||||
mv $registry.tmp $registry
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue