2024-01-04 19:40:17 +03:00
|
|
|
# stack build plan using GHC 9.8.1
|
2023-10-15 15:54:53 +03:00
|
|
|
|
2024-02-29 01:32:36 +03:00
|
|
|
resolver: nightly-2024-02-28
|
2023-10-15 15:54:53 +03:00
|
|
|
|
|
|
|
packages:
|
|
|
|
- hledger-lib
|
2024-01-04 19:40:17 +03:00
|
|
|
- hledger
|
2024-02-20 00:25:05 +03:00
|
|
|
- hledger-ui
|
2024-01-04 19:40:17 +03:00
|
|
|
- hledger-web
|
|
|
|
|
2024-02-29 01:32:36 +03:00
|
|
|
# XXX
|
2024-01-04 19:40:17 +03:00
|
|
|
extra-deps:
|
2024-02-29 01:32:36 +03:00
|
|
|
- base64-0.4.2.4 # hledger-web does not yet support base64-1
|
|
|
|
- cassava-megaparsec-2.1.1 # to support current bytestring/vector; not yet in stackage
|
|
|
|
- email-validate-2.3.2.20 # to support 9.8's template-haskell; not yet in stackage
|
|
|
|
- yesod-1.6.2.1 # not yet in stackage
|
|
|
|
- yesod-form-1.7.6 # not yet in stackage
|
2023-10-15 15:54:53 +03:00
|
|
|
|
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
|
|
|
|
2024-01-04 19:40:17 +03:00
|
|
|
ghc-options:
|
2024-02-29 01:32:36 +03:00
|
|
|
# XXX silence 9.8's new partial warnings for now
|
2024-01-04 19:40:17 +03:00
|
|
|
"$locals": -Wno-x-partial
|
|
|
|
|
2023-10-15 15:54:53 +03:00
|
|
|
# "$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
|