Skip to content

Instantly share code, notes, and snippets.

@utdemir
Created August 2, 2020 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save utdemir/cd6d360059137ed8baa40874f8ca4881 to your computer and use it in GitHub Desktop.
Save utdemir/cd6d360059137ed8baa40874f8ca4881 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index ea517acfb..105e4d884 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ debpkg: man/pandoc.1
-v `pwd`/linux/artifacts:/artifacts \
-e REVISION=$(REVISION) \
-w /mnt \
- utdemir/ghc-musl:v8-libgmp-ghc8101 bash \
+ utdemir/ghc-musl:v10-libgmp-ghc8101 bash \
/mnt/linux/make_artifacts.sh
cp linux/artifacts/pandoc-$(version)-*.* .
diff --git a/cabal.project b/cabal.project
index bcb43b0d4..565709b76 100644
--- a/cabal.project
+++ b/cabal.project
@@ -11,9 +11,9 @@ package pandoc-citeproc
source-repository-package
type: git
location: https://github.com/jgm/pandoc-citeproc
- tag: 0.17.0.1
+ tag: 82833c1d162b19464d9aa2b5d4eb756443d726c9
- source-repository-package
- type: git
- location: https://github.com/jgm/commonmark-hs
- tag: 8d4442abc443ce0100cc87af797e7df9a72b9b9a
+-- source-repository-package
+-- type: git
+-- location: https://github.com/jgm/commonmark-hs
+-- tag: 8d4442abc443ce0100cc87af797e7df9a72b9b9a
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index 9dca400af..e248138ff 100644
--- a/linux/make_artifacts.sh
+++ b/linux/make_artifacts.sh
@@ -16,7 +16,7 @@ ghc --version
cabal v2-update
cabal v2-clean
-cabal v2-configure --enable-tests -f-export-dynamic -fstatic -fembed_data_files -fbibutils --ghc-options '-optc-Os -optl=-pthread -optl=-static -fPIC -split-sections' . pandoc-citeproc
+cabal v2-configure --enable-tests -f-export-dynamic -fstatic -fembed_data_files -fbibutils --enable-executable-static --ghc-options '-optc-Os -optl=-pthread -split-sections' . pandoc-citeproc
cabal v2-build . pandoc-citeproc
cabal v2-test -j1 . pandoc-citeproc
for f in $(find dist-newstyle -name 'pandoc*' -type f -perm +400); do cp $f /artifacts/; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment