hledger/stack9.8.yaml
2024-02-19 11:25:05 -10:00

50 lines
1.1 KiB
YAML

# stack build plan using GHC 9.8.1
resolver: nightly-2024-02-19
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
extra-deps:
- base64-0.4.2.4
- cassava-megaparsec-2.1.0
- email-validate-2.3.2.19
- hfsevents-0.1.7
- yesod-1.6.2.1
- yesod-form-1.7.6
# work around https://github.com/stackbuilders/cassava-megaparsec/issues/39 etc.
# both of these are needed:
#allow-newer: true
#allow-newer-deps:
#- cassava-megaparsec
#- email-validate
nix:
pure: false
packages: [perl gmp ncurses zlib]
ghc-options:
# silence 9.8's new partial warnings for now
"$locals": -Wno-x-partial
# "$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