hledger/stack92.yaml.old
hseg 240757b259
Avoid hashtables 1.3.x for best gcc compatibility [#2463]
* Forbid solving for hashtables 1.3

On modern gccs, this sometimes causes build failures, see
https://github.com/gregorycollins/hashtables/issues/97

* Propagate constraint to package.yaml too

* stack98: include valid hashtables version

* stack92: add valid hashtables version

* stack94: add valid hashtables version

* stack96: add valid hashtables version
2025-09-21 11:41:57 -07:00

53 lines
1.1 KiB
YAML

# stack build plan using GHC 9.2.8
# Note hledger now officially requires GHC 9.6+;
# this is here as a reference in case you are trying to build with older GHC and stack.
resolver: lts-20.26
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
extra-deps:
- megaparsec-9.3.0
- safe-0.3.21
# for hledger-lib:
- encoding-0.10
- hashtables-1.4.2
# for hledger:
# for hledger-ui:
- brick-2.3.1
- fsnotify-0.4.2.0
- hfsevents-0.1.8
- 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