dev: add stack9.4.yaml for building with latest nightly/ghc 9.4.3
This commit is contained in:
parent
ba773e3fe9
commit
3a6955d3e2
@ -32,7 +32,7 @@ extra-source-files:
|
|||||||
#data-files:
|
#data-files:
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- base >=4.14 && <4.17
|
- base >=4.14 && <4.18
|
||||||
- aeson >=1
|
- aeson >=1
|
||||||
- aeson-pretty
|
- aeson-pretty
|
||||||
- ansi-terminal >=0.9
|
- ansi-terminal >=0.9
|
||||||
|
|||||||
@ -49,7 +49,7 @@ ghc-options:
|
|||||||
- -Wno-unused-do-bind
|
- -Wno-unused-do-bind
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- base >=4.14 && <4.17
|
- base >=4.14 && <4.18
|
||||||
- hledger-lib >=1.27.99 && <1.28
|
- hledger-lib >=1.27.99 && <1.28
|
||||||
- hledger >=1.27.99 && <1.28
|
- hledger >=1.27.99 && <1.28
|
||||||
- ansi-terminal >=0.9
|
- ansi-terminal >=0.9
|
||||||
|
|||||||
@ -78,7 +78,7 @@ when:
|
|||||||
ghc-options: -O0
|
ghc-options: -O0
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- base >=4.14 && <4.17
|
- base >=4.14 && <4.18
|
||||||
- breakpoint
|
- breakpoint
|
||||||
|
|
||||||
library:
|
library:
|
||||||
|
|||||||
@ -96,7 +96,7 @@ ghc-options:
|
|||||||
- -optP-Wno-nonportable-include-path
|
- -optP-Wno-nonportable-include-path
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- base >=4.14 && <4.17
|
- base >=4.14 && <4.18
|
||||||
- hledger-lib >=1.27.99 && <1.28
|
- hledger-lib >=1.27.99 && <1.28
|
||||||
- aeson >=1
|
- aeson >=1
|
||||||
- ansi-terminal >=0.9
|
- ansi-terminal >=0.9
|
||||||
|
|||||||
43
stack9.4.yaml
Normal file
43
stack9.4.yaml
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user