# stack build plan using GHC 8.8.4 nix: pure: false packages: [perl gmp ncurses zlib] resolver: lts-16.31 packages: - hledger-lib - hledger - hledger-ui - hledger-web extra-deps: # for hledger-lib: - pretty-simple-4.0.0.0 - prettyprinter-1.7.0 - doctest-0.18.1 - doclayout-0.3.1.1 - emojis-0.1.2 # for hledger: - githash-0.1.6.2 - th-compat-0.1.4 # for hledger-ui: - brick-1.0 - bimap-0.5.0 - text-zipper-0.12 - vty-5.36 # for hledger-web: - ghc-byteorder-4.11.0.0.10 # 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 # ghc-options: # "$locals": -ddump-timings # "$targets": -Werror # "$everything": -O2 # some-package: -DSOME_CPP_FLAG