Set paths in make_deb and make_osx_package.

This is needed to include a locally installed hsb2hs.
This commit is contained in:
John MacFarlane 2015-10-24 21:22:24 -07:00
parent d355163b7d
commit d7e6a95a3a
2 changed files with 5 additions and 0 deletions

View file

@ -20,6 +20,9 @@ COPYRIGHT=$DEST/share/doc/pandoc/copyright
stack setup
stack clean
which hsb2hs || stack install --stack-yaml stack.hsb2hs.yaml
# We need this for hsb2hs:
PATH=$LOCAL/bin:$PATH
stack install --stack-yaml deb/stack.yaml
# get pandoc-citeproc man page:

View file

@ -17,6 +17,8 @@ rm -rf $DIST
mkdir -p $RESOURCES
stack setup
which hsb2hs | stack install --stack-yaml=stack.hsb2hs.yaml
# We need this for hsb2hs:
PATH=$LOCALBIN:$PATH
echo Building pandoc...
stack clean