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.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/build-hook.sh b/tests/build-hook.sh
index 8cd9e8171fe1..b9de00993654 100644
--- a/tests/build-hook.sh
+++ b/tests/build-hook.sh
@@ -2,11 +2,7 @@ source common.sh
 
 export NIX_BUILD_HOOK="build-hook.hook.sh"
 
-drvPath=$($nixinstantiate build-hook.nix)
-
-echo "derivation is $drvPath"
-
-outPath=$($nixstore -quf "$drvPath")
+outPath=$($nixbuild build-hook.nix)
 
 echo "output path is $outPath"