From 69d7469556a3005855bb0794389cd0c93dde5473 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 18 Dec 2024 18:07:48 -1000 Subject: [PATCH] ;pkg: stack: start ghc 9.12 stack.yaml --- stack9.12.yaml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 stack9.12.yaml diff --git a/stack9.12.yaml b/stack9.12.yaml new file mode 100644 index 000000000..7298d8615 --- /dev/null +++ b/stack9.12.yaml @@ -0,0 +1,61 @@ +# draft stack build plan using GHC 9.12.1 +# https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.12 +# https://downloads.haskell.org/ghc/9.12.1/docs/users_guide/9.12.1-notes.html + +resolver: nightly-2024-12-19 +compiler: ghc-9.12.1 +notify-if-ghc-untested: false +notify-if-cabal-untested: false + +packages: +- hledger-lib +# - hledger +# - hledger-ui +# - hledger-web + +# To minimise problems, use the versions shipped with GHC 9.10.1 when possible. +# See https://github.com/haskell/unix/issues/329. +extra-deps: +# - base-compat-0.14.0 + +# # for hledger-lib +# - Cabal-3.12.0.0 +# - Cabal-syntax-3.12.0.0 +# #- directory-1.3.8.3 +# #- filepath-1.5.2.0 +# - directory-1.3.9.0 +# - filepath-1.4.301.0 +# - ghc-boot-9.10.1@rev:1 +# - process-1.6.19.0 +# - time-1.12.2 +# - unix-2.8.5.1 +# # for windows +# - Win32-2.14.0.0 + +# # for hledger +# - haskeline-0.8.2.1 +# # to silence a warning +# - wizards-1.0.3@rev:3 + +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