;tools: revert to ghc 9.8.2 for now

running these with ghc 9.10 is awkward
This commit is contained in:
Simon Michael 2024-12-03 09:12:14 -10:00
parent 2b07301a4f
commit 81d20ecaf8
7 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env stack
{- stack script --resolver nightly-2024-11-30 --compile
{- stack script --resolver nightly-2024-09-26 --compile
--extra-include-dirs /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/ffi
--package base-prelude
--package directory

View File

@ -1,7 +1,7 @@
#!/usr/bin/env stack
-- stack runghc
-- (requires hledger > 1.34)
-- -- stack script --compile --resolver nightly-2024-11-30 --verbosity error --package hledger-lib --package hledger --package text --package safe
-- -- stack script --compile --resolver nightly-2024-09-26 --verbosity error --package hledger-lib --package hledger --package text --package safe
-- hledger-register-max - runs "hledger register" and prints the posting with largest running total/balance.
-- Usage:

View File

@ -1,8 +1,8 @@
#!/usr/bin/env stack
-- stack runghc --verbosity error --package hledger
-- stack runghc --verbosity error --package hledger --package hledger-lib --package text --package safe
-- stack script --compile --resolver nightly-2024-11-30 --verbosity error --package hledger --package text
-- stack script --compile --resolver nightly-2024-11-30 --verbosity error --package hledger --package hledger-lib --package text --package safe
-- stack script --compile --resolver nightly-2024-09-26 --verbosity error --package hledger --package text
-- stack script --compile --resolver nightly-2024-09-26 --verbosity error --package hledger --package hledger-lib --package text --package safe
-- The topmost stack command above is used to run this script.
-- stack script uses released hledger, stack runghc uses local hledger source.
-- This script currently requires local hledger source, for Hledger.Cli.Script.

View File

@ -1,7 +1,7 @@
#!/usr/bin/env stack
-- stack runghc --verbosity error --package hledger --package hledger-lib --package text --package safe
-- (use the local hledger source)
-- -- stack script --compile --resolver nightly-2024-11-30 --verbosity info --package hledger --package text
-- -- stack script --compile --resolver nightly-2024-09-26 --verbosity info --package hledger --package text
-- -- (use a released hledger from stackage)
-- A custom compound report - like incomestatement but with different,

View File

@ -16,7 +16,7 @@
-- stack script --snapshot lts-22.27 --verbosity error --package hledger --package text
-- (Uses the specified snapshot with its hledger and ghc, https://www.stackage.org/lts-22.27)
--
-- stack script --snapshot nightly-2024-11-30 --verbosity error --package hledger --package hledger-lib --package text --compile
-- stack script --snapshot nightly-2024-09-26 --verbosity error --package hledger --package hledger-lib --package text --compile
-- (Uses a newer snapshot, hledger and ghc. The --compile flag compiles the script to a faster binary.)
--
------------------------------------78----------------------------------------

View File

@ -1,5 +1,5 @@
#!/usr/bin/env stack
{- stack script --resolver nightly-2024-11-30
{- stack script --resolver nightly-2024-09-26
--package data-default
--package extra
--package process

View File

@ -1,5 +1,5 @@
#!/usr/bin/env stack
{- stack script --resolver nightly-2024-11-30 --compile
{- stack script --resolver nightly-2024-09-26 --compile
-}
-- add this to see packages being installed instead of a long silence:
-- --verbosity=info