diff --git a/hledger-lib/package.yaml b/hledger-lib/package.yaml index be5e2495d..d8aa9b298 100644 --- a/hledger-lib/package.yaml +++ b/hledger-lib/package.yaml @@ -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 diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index 69e3c9777..1f3599244 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -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 diff --git a/hledger-web/package.yaml b/hledger-web/package.yaml index dfe40b3a1..192efaf55 100644 --- a/hledger-web/package.yaml +++ b/hledger-web/package.yaml @@ -78,7 +78,7 @@ when: ghc-options: -O0 dependencies: -- base >=4.14 && <4.17 +- base >=4.14 && <4.18 - breakpoint library: diff --git a/hledger/package.yaml b/hledger/package.yaml index 38dae818e..b98b3eb6b 100644 --- a/hledger/package.yaml +++ b/hledger/package.yaml @@ -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 diff --git a/stack9.4.yaml b/stack9.4.yaml new file mode 100644 index 000000000..fc668945c --- /dev/null +++ b/stack9.4.yaml @@ -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