# stack build plan using GHC 9.6.2 # https://github.com/simonmichael/hledger/issues/2011 resolver: nightly-2023-07-01 packages: - hledger-lib - hledger - hledger-ui # - hledger-web # extra-deps: # allow-newer: true 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