# stack build plan using GHC 8.10.7 resolver: lts-18.28 packages: - hledger-lib - hledger - hledger-ui - hledger-web # I give up, go with this for now allow-newer: true extra-deps: - safe-0.3.21 - base-compat-0.14.0 # needed for the above: - base-compat-batteries-0.14.0 - data-array-byte-0.1.0.1 - foldable1-classes-compat-0.1 - hashable-1.4.7.0 - OneTuple-0.4.2 # etc etc etc. # for hledger-lib: - doctest-0.20.0 - ansi-terminal-0.11.4 - terminal-size-0.3.4 - text-ansi-0.2.1 - text-builder-0.6.7 - text-builder-dev-0.3.3.2 - isomorphism-class-0.1.0.7 # for hledger: # for hledger-ui: - brick-2.3.1 - bimap-0.5.0 - fsnotify-0.4.0.0 - text-zipper-0.13 - vty-6.2 - vty-crossplatform-0.4.0.0 - vty-unix-0.2.0.0 - vty-windows-0.2.0.2 # 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