mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 19:41:47 +03:00
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
# stack build plan using GHC 9.0.2
|
|
|
|
nix:
|
|
pure: false
|
|
packages: [perl gmp ncurses zlib]
|
|
|
|
resolver: lts-19.33
|
|
|
|
# for https://gitlab.haskell.org/ghc/ghc/-/issues/20592 on mac m1 (adjust path if needed)
|
|
extra-include-dirs:
|
|
- /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/ffi
|
|
|
|
packages:
|
|
- hledger-lib
|
|
- hledger
|
|
- hledger-ui
|
|
- hledger-web
|
|
|
|
extra-deps:
|
|
- megaparsec-9.3.0
|
|
# for hledger-lib:
|
|
- ansi-terminal-0.11.4
|
|
- text-ansi-0.2.1
|
|
- text-builder-0.6.7
|
|
- text-builder-dev-0.3.3.2
|
|
- isomorphism-class-0.1.0.7
|
|
# for hledger:
|
|
# for hledger-ui:
|
|
- brick-1.5
|
|
- bimap-0.5.0
|
|
- fsnotify-0.4.0.0
|
|
- text-zipper-0.12
|
|
- vty-5.36
|
|
# for hledger-web:
|
|
# for Shake.hs:
|
|
|
|
# ghc-options:
|
|
# "$locals": -fplugin Debug.Breakpoint
|
|
|
|
# for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html:
|
|
# apply-ghc-options: everything
|
|
# rebuild-ghc-options: true
|
|
# stack build --profile --ghc-options="-fno-prof-auto"
|
|
|
|
# tell GHC to write hie files, eg for weeder. Rumoured to be slow.
|
|
# ghc-options:
|
|
# "$locals": -fwrite-ide-info
|
|
|
|
# ghc-options:
|
|
# "$locals": -ddump-timings
|
|
# "$targets": -Werror
|
|
# "$everything": -O2
|
|
# some-package: -DSOME_CPP_FLAG
|