about summary refs log tree commit diff
path: root/tests/gc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gc.sh')
-rw-r--r--tests/gc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gc.sh b/tests/gc.sh
index c1bfc9ce4104..afbda953eadc 100644
--- a/tests/gc.sh
+++ b/tests/gc.sh
@@ -1,7 +1,7 @@
 source common.sh
 
-drvPath=$($TOP/src/nix-instantiate/nix-instantiate dependencies.nix)
-outPath=$($TOP/src/nix-store/nix-store -rvv "$drvPath")
+drvPath=$($nixinstantiate dependencies.nix)
+outPath=$($nixstore -rvv "$drvPath")
 
 # Set a GC root.
 ln -s $outPath "$NIX_STATE_DIR"/gcroots/foo