diff options
Diffstat (limited to 'tests/flakes.sh')
-rw-r--r-- | tests/flakes.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/flakes.sh b/tests/flakes.sh index 141bb9779..c6f9d78df 100644 --- a/tests/flakes.sh +++ b/tests/flakes.sh @@ -235,6 +235,7 @@ 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-store --gc # get rid of copies in the store to ensure they get fetched to our git cache _NIX_FORCE_HTTP=1 nix build -o $TEST_ROOT/result git+file://$flake2Dir#bar mv $flake1Dir $flake1Dir.tmp mv $flake2Dir $flake2Dir.tmp |