2024-09-30 20:16:09 +03:00
|
|
|
# stack build plan using GHC 9.10.1
|
|
|
|
# https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.10
|
|
|
|
# https://downloads.haskell.org/ghc/9.10.1/docs/users_guide/9.10.1-notes.html
|
|
|
|
|
2024-12-03 06:12:07 +03:00
|
|
|
resolver: nightly-2024-11-30
|
2024-09-30 20:16:09 +03:00
|
|
|
compiler: ghc-9.10.1
|
|
|
|
notify-if-ghc-untested: false
|
|
|
|
notify-if-cabal-untested: false
|
|
|
|
|
|
|
|
packages:
|
|
|
|
- hledger-lib
|
|
|
|
- hledger
|
|
|
|
- hledger-ui
|
|
|
|
- hledger-web
|
|
|
|
|
2024-12-04 04:28:53 +03:00
|
|
|
# To minimise problems, use the versions shipped with GHC 9.10.1 when possible.
|
|
|
|
# See https://github.com/haskell/unix/issues/329.
|
2024-09-30 20:16:09 +03:00
|
|
|
extra-deps:
|
2024-10-01 01:48:17 +03:00
|
|
|
- base-compat-0.14.0
|
2024-12-04 04:28:53 +03:00
|
|
|
|
2024-09-30 20:16:09 +03:00
|
|
|
# for hledger-lib
|
|
|
|
- Cabal-3.12.0.0
|
|
|
|
- Cabal-syntax-3.12.0.0
|
2024-12-04 04:28:53 +03:00
|
|
|
#- directory-1.3.8.3
|
|
|
|
#- filepath-1.5.2.0
|
2024-12-03 06:12:07 +03:00
|
|
|
- directory-1.3.9.0
|
|
|
|
- filepath-1.4.301.0
|
2024-09-30 20:16:09 +03:00
|
|
|
- ghc-boot-9.10.1@rev:1
|
2024-12-04 04:28:53 +03:00
|
|
|
- process-1.6.19.0
|
2024-12-03 09:41:25 +03:00
|
|
|
- time-1.12.2
|
2024-12-03 12:37:37 +03:00
|
|
|
- unix-2.8.5.1
|
2024-10-01 00:47:35 +03:00
|
|
|
# for windows
|
|
|
|
- Win32-2.14.0.0
|
2024-12-04 04:28:53 +03:00
|
|
|
|
2024-09-30 20:16:09 +03:00
|
|
|
# for hledger
|
|
|
|
- haskeline-0.8.2.1
|
2024-10-01 05:22:01 +03:00
|
|
|
# to silence a warning
|
|
|
|
- wizards-1.0.3@rev:3
|
2024-12-04 04:28:53 +03:00
|
|
|
|
2024-10-20 07:47:03 +03:00
|
|
|
# for dev builds when the debug flag is enabled:
|
2024-12-03 06:12:07 +03:00
|
|
|
# - ghc-debug-convention-0.6.0.0
|
|
|
|
# - ghc-debug-stub-0.6.0.0
|
2024-09-30 20:16:09 +03:00
|
|
|
|
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
|
|
|
|
|
|
|
# ghc-options:
|
|
|
|
# "$locals": -Wno-x-partial
|
|
|
|
# "$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
|