Fix build hook test

This commit is contained in:
Eelco Dolstra 2017-05-02 12:07:56 +02:00
parent feefcb3a98
commit 70581b6363
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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"