2024-04-08 12:47:27 +03:00
|
|
|
# stack build plan using GHC 9.8.2
|
2023-10-15 15:54:53 +03:00
|
|
|
|
2024-09-28 21:39:06 +03:00
|
|
|
resolver: nightly-2024-09-26
|
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
|
|
|
|
|
|
|
|
extra-deps:
|
2024-05-02 12:00:15 +03:00
|
|
|
# needed only for dev builds when the ghcdebug flag is enabled:
|
2024-04-25 19:28:11 +03:00
|
|
|
- ghc-debug-convention-0.6.0.0
|
|
|
|
- ghc-debug-stub-0.6.0.0
|
|
|
|
|
2023-10-15 15:54:53 +03:00
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
|
|
|
|
2024-02-29 04:36:20 +03:00
|
|
|
# ghc-options:
|
|
|
|
# "$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
|