hledger/stack.yaml
Simon Michael 9584ebb439 imp: lib: Hledger.Utils.Debug: re-export Debug.Breakpoint
And add breakpoint as a dependency and enable its GHC plugin in all
the hledger packages, so that breakpoint's helpers can be used easily.
2022-08-23 02:02:19 +01:00

41 lines
839 B
YAML

# stack build plan using GHC 9.2.4
resolver: nightly-2022-08-14
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
extra-deps:
# for hledger-lib:
- breakpoint-0.1.0.0
# for hledger:
# for hledger-ui:
- brick-1.0
# for hledger-web:
# for Shake.hs:
nix:
pure: false
packages: [perl gmp ncurses zlib]
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