diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-05-02T10·07+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-05-02T10·07+0200 |
commit | 70581b63633016329789872c73dc48b1d498c729 (patch) | |
tree | 7b36940d18dc05ecd3f5cd41426ee2dd40a063d3 /tests | |
parent | feefcb3a982d3e3b8e89798d72d8afa996169569 (diff) |
Fix build hook test
Diffstat (limited to 'tests')
-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" |