about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/build-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/build-hook.sh b/tests/build-hook.sh
index 681f65cc3b6c..ef77a3ae5285 100644
--- a/tests/build-hook.sh
+++ b/tests/build-hook.sh
@@ -1,6 +1,6 @@
 source common.sh
 
-export NIX_BUILD_HOOK="build-hook.hook.sh"
+export NIX_BUILD_HOOK="$(pwd)/build-hook.hook.sh"
 
 outPath=$(nix-build build-hook.nix --no-out-link)