diff options
Diffstat (limited to 'tests/gc.sh')
-rw-r--r-- | tests/gc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gc.sh b/tests/gc.sh index 9aeda43e71..e45e35a8c9 100644 --- a/tests/gc.sh +++ b/tests/gc.sh @@ -2,7 +2,7 @@ storeExpr=$($TOP/src/nix-instantiate/nix-instantiate dependencies.nix) outPath=$($TOP/src/nix-store/nix-store -rvv "$storeExpr") # Set a GC root. -ln -s $outPath "$NIX_LOCALSTATE_DIR"/nix/gcroots/foo +ln -s $outPath "$NIX_STATE_DIR"/gcroots/foo $NIX_BIN_DIR/nix-collect-garbage |