2021-04-06 20:59:11 +03:00
|
|
|
# stack build plan using GHC 9.0.1
|
|
|
|
|
2021-07-17 01:18:57 +03:00
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
2021-04-06 20:59:11 +03:00
|
|
|
|
2021-12-17 01:51:05 +03:00
|
|
|
resolver: nightly-2021-12-16
|
2022-01-11 21:08:18 +03:00
|
|
|
#resolver: nightly-2022-01-10
|
|
|
|
# ghc 9.0.2, waiting for https://gitlab.haskell.org/ghc/ghc/-/issues/20592
|
2021-04-06 20:59:11 +03:00
|
|
|
|
|
|
|
packages:
|
|
|
|
- hledger-lib
|
|
|
|
- hledger
|
|
|
|
- hledger-ui
|
|
|
|
- hledger-web
|
|
|
|
|
2021-11-23 06:19:18 +03:00
|
|
|
#extra-deps:
|
2021-04-06 20:59:11 +03:00
|
|
|
# for hledger-lib:
|
|
|
|
# for hledger:
|
|
|
|
# for hledger-ui:
|
|
|
|
# for hledger-web:
|
|
|
|
# for Shake.hs:
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2021-07-17 01:18:57 +03:00
|
|
|
# ghc-options:
|
2021-04-06 20:59:11 +03:00
|
|
|
# "$locals": -ddump-timings
|
|
|
|
# "$targets": -Werror
|
|
|
|
# "$everything": -O2
|
|
|
|
# some-package: -DSOME_CPP_FLAG
|