3f278f580e
This isn't really necessary and can be misleading (e.g. on macOS, where a fully static build isn't possible). cabal's new option `--enable-executable-static` does the same. On stack you can add something like this to the options for your executable in package.yaml: ld-options: -static -pthread
30 lines
563 B
YAML
30 lines
563 B
YAML
flags:
|
|
pandoc:
|
|
trypandoc: false
|
|
embed_data_files: true
|
|
packages:
|
|
- '.'
|
|
extra-deps:
|
|
- pandoc-types-1.22
|
|
- texmath-0.12.0.3
|
|
- rfc5051-0.2
|
|
- haddock-library-1.9.0
|
|
- skylighting-0.10.0.3
|
|
- skylighting-core-0.10.0.3
|
|
- doclayout-0.3
|
|
- emojis-0.1
|
|
- hslua-1.1.2
|
|
- jira-wiki-markup-1.3.2
|
|
- HsYAML-0.2.1.0
|
|
- HsYAML-aeson-0.2.0.0
|
|
- doctemplates-0.8.2
|
|
- commonmark-0.1.1.2
|
|
- commonmark-extensions-0.2.0.4
|
|
- commonmark-pandoc-0.2.0.1
|
|
- citeproc-0.2
|
|
ghc-options:
|
|
"$locals": -fhide-source-paths -Wno-missing-home-modules
|
|
resolver: lts-14.6
|
|
nix:
|
|
packages: [zlib]
|
|
|