diff options
-rw-r--r-- | tests/build-hook.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/build-hook.sh b/tests/build-hook.sh index ef77a3ae5285..2005c7cebdc4 100644 --- a/tests/build-hook.sh +++ b/tests/build-hook.sh @@ -1,8 +1,8 @@ source common.sh -export NIX_BUILD_HOOK="$(pwd)/build-hook.hook.sh" +clearStore -outPath=$(nix-build build-hook.nix --no-out-link) +outPath=$(nix-build build-hook.nix --no-out-link --option build-hook $(pwd)/build-hook.hook.sh) echo "output path is $outPath" |