aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake_deb.sh3
-rwxr-xr-xmake_osx_package.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/make_deb.sh b/make_deb.sh
index a184b54d6..639d7b930 100755
--- a/make_deb.sh
+++ b/make_deb.sh
@@ -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:
diff --git a/make_osx_package.sh b/make_osx_package.sh
index 3683f1a6e..60050a1ef 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -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