mirror of
https://github.com/NixOS/nix
synced 2025-07-16 02:01:59 +02:00
Fix GC closure generation
This commit is contained in:
parent
6dbd5c26e6
commit
278114d559
4 changed files with 40 additions and 25 deletions
|
@ -204,6 +204,7 @@ nix flake list --flake-registry file://$registry --tarball-ttl 0 | grep -q flake
|
|||
mv $registry.tmp $registry
|
||||
|
||||
# Test whether flakes are registered as GC roots for offline use.
|
||||
# FIXME: use tarballs rather than git.
|
||||
rm -rf $TEST_HOME/.cache
|
||||
nix build -o $TEST_ROOT/result --flake-registry file://$registry file://$flake2Dir:bar
|
||||
mv $flake1Dir $flake1Dir.tmp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue