about summary refs log tree commit diff
path: root/tests/build-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/build-hook.sh')
-rw-r--r--tests/build-hook.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/build-hook.sh b/tests/build-hook.sh
index 6a71bbe56173..8cd9e8171fe1 100644
--- a/tests/build-hook.sh
+++ b/tests/build-hook.sh
@@ -2,11 +2,11 @@ source common.sh
 
 export NIX_BUILD_HOOK="build-hook.hook.sh"
 
-drvPath=$($TOP/src/nix-instantiate/nix-instantiate build-hook.nix)
+drvPath=$($nixinstantiate build-hook.nix)
 
 echo "derivation is $drvPath"
 
-outPath=$($TOP/src/nix-store/nix-store -quf "$drvPath")
+outPath=$($nixstore -quf "$drvPath")
 
 echo "output path is $outPath"