2021-12-17 01:51:05 +03:00
|
|
|
# stack build plan using GHC 8.10.7
|
2019-11-29 00:43:54 +03:00
|
|
|
|
2020-03-02 02:01:37 +03:00
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
|
|
|
|
2021-12-17 01:51:05 +03:00
|
|
|
resolver: lts-18.18
|
2019-11-29 00:43:54 +03:00
|
|
|
|
|
|
|
packages:
|
|
|
|
- hledger-lib
|
|
|
|
- hledger
|
|
|
|
- hledger-ui
|
|
|
|
- hledger-web
|
|
|
|
|
2021-07-17 06:58:57 +03:00
|
|
|
extra-deps:
|
2019-11-29 00:43:54 +03:00
|
|
|
# for hledger-lib:
|
2022-08-23 02:36:31 +03:00
|
|
|
- breakpoint-0.1.0.0
|
2021-12-17 01:51:05 +03:00
|
|
|
- doctest-0.20.0
|
2019-11-29 00:43:54 +03:00
|
|
|
# for hledger:
|
|
|
|
# for hledger-ui:
|
2022-08-17 17:23:33 +03:00
|
|
|
- brick-1.0
|
|
|
|
- bimap-0.5.0
|
2022-09-20 06:56:01 +03:00
|
|
|
- fsnotify-0.4.0.0
|
2022-08-17 17:23:33 +03:00
|
|
|
- text-zipper-0.12
|
|
|
|
- vty-5.36
|
2019-11-29 00:43:54 +03:00
|
|
|
# for hledger-web:
|
2020-01-28 20:21:10 +03:00
|
|
|
# for Shake.hs:
|
2020-02-01 01:49:29 +03:00
|
|
|
|
2022-08-23 02:36:31 +03:00
|
|
|
ghc-options:
|
|
|
|
"$locals": -fplugin Debug.Breakpoint
|
|
|
|
|
2020-02-01 01:49:29 +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"
|
2020-03-16 21:18:04 +03:00
|
|
|
|
|
|
|
# tell GHC to write hie files, eg for weeder. Rumoured to be slow.
|
|
|
|
# ghc-options:
|
|
|
|
# "$locals": -fwrite-ide-info
|
2020-11-17 01:41:52 +03:00
|
|
|
|
|
|
|
# ghc-options:
|
|
|
|
# "$locals": -ddump-timings
|
|
|
|
# "$targets": -Werror
|
|
|
|
# "$everything": -O2
|
|
|
|
# some-package: -DSOME_CPP_FLAG
|
2021-07-04 00:25:48 +03:00
|
|
|
|