2022-11-25 19:44:43 +03:00
|
|
|
# stack build plan using GHC 9.2.5
|
2021-12-07 00:07:28 +03:00
|
|
|
|
2022-11-25 19:44:43 +03:00
|
|
|
resolver: lts-20.1
|
2021-12-07 00:07:28 +03:00
|
|
|
|
|
|
|
packages:
|
|
|
|
- hledger-lib
|
|
|
|
- hledger
|
|
|
|
- hledger-ui
|
2022-04-16 04:02:11 +03:00
|
|
|
- hledger-web
|
2021-12-07 00:07:28 +03:00
|
|
|
|
2022-08-17 13:04:50 +03:00
|
|
|
extra-deps:
|
2021-12-07 00:07:28 +03:00
|
|
|
# for hledger-lib:
|
|
|
|
# for hledger:
|
|
|
|
# for hledger-ui:
|
2022-11-26 08:12:28 +03:00
|
|
|
- brick-1.5
|
2022-09-20 06:56:01 +03:00
|
|
|
- fsnotify-0.4.0.0
|
2021-12-07 00:07:28 +03:00
|
|
|
# for hledger-web:
|
|
|
|
# for Shake.hs:
|
|
|
|
|
2022-03-26 00:47:23 +03:00
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
2021-12-07 00:07:28 +03:00
|
|
|
|
2022-08-23 02:36:31 +03:00
|
|
|
ghc-options:
|
|
|
|
"$locals": -fplugin Debug.Breakpoint
|
|
|
|
|
2022-03-26 00:47:23 +03:00
|
|
|
# # 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"
|
2021-12-07 00:07:28 +03:00
|
|
|
|
2022-03-26 00:47:23 +03:00
|
|
|
# # tell GHC to write hie files, eg for weeder. Rumoured to be slow.
|
|
|
|
# # ghc-options:
|
|
|
|
# # "$locals": -fwrite-ide-info
|
2021-12-07 00:07:28 +03:00
|
|
|
|
2022-03-26 00:47:23 +03:00
|
|
|
# # ghc-options:
|
|
|
|
# # "$locals": -ddump-timings
|
|
|
|
# # "$targets": -Werror
|
|
|
|
# # "$everything": -O2
|
|
|
|
# # some-package: -DSOME_CPP_FLAG
|