dev: add stack9.4.yaml for building with latest nightly/ghc 9.4.3

This commit is contained in:
Simon Michael 2022-11-25 23:45:17 -05:00
parent ba773e3fe9
commit 3a6955d3e2
5 changed files with 47 additions and 4 deletions

View File

@ -32,7 +32,7 @@ extra-source-files:
#data-files:
dependencies:
- base >=4.14 && <4.17
- base >=4.14 && <4.18
- aeson >=1
- aeson-pretty
- ansi-terminal >=0.9

View File

@ -49,7 +49,7 @@ ghc-options:
- -Wno-unused-do-bind
dependencies:
- base >=4.14 && <4.17
- base >=4.14 && <4.18
- hledger-lib >=1.27.99 && <1.28
- hledger >=1.27.99 && <1.28
- ansi-terminal >=0.9

View File

@ -78,7 +78,7 @@ when:
ghc-options: -O0
dependencies:
- base >=4.14 && <4.17
- base >=4.14 && <4.18
- breakpoint
library:

View File

@ -96,7 +96,7 @@ ghc-options:
- -optP-Wno-nonportable-include-path
dependencies:
- base >=4.14 && <4.17
- base >=4.14 && <4.18
- hledger-lib >=1.27.99 && <1.28
- aeson >=1
- ansi-terminal >=0.9

43
stack9.4.yaml Normal file
View File

@ -0,0 +1,43 @@
# stack build plan using GHC 9.4.3
resolver: nightly-2022-11-26
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
extra-deps:
# for hledger-lib:
# for hledger:
# for hledger-ui:
# for hledger-web:
- hjsmin-0.2.0.4
- yesod-1.6.2.1
- yesod-static-1.6.1.0
# for Shake.hs:
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