From bb249115bab627565983ebc62a08cc104b459a35 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 8 Dec 2021 16:57:42 -1000 Subject: [PATCH] dev: make ghci[d]-ui uses ghc 8.10 to avoid 9.0 failures --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b2e8268a2..c4a9ecf6d 100644 --- a/Makefile +++ b/Makefile @@ -395,7 +395,9 @@ ghci-dev: $(call def-help,ghci-dev, start ghci REPL on hledger-lib + hledger + d $(STACKGHCI) exec -- $(GHCI) $(BUILDFLAGS) -fno-warn-unused-imports -fno-warn-unused-binds dev.hs ghci-ui: $(call def-help,ghci-ui, start ghci REPL on hledger-lib + hledger + hledger-ui) - $(STACKGHCI) exec -- $(GHCI) $(BUILDFLAGS) hledger-ui/Hledger/UI/Main.hs + stack --stack-yaml=stack8.10.yaml exec -- $(GHCI) $(BUILDFLAGS) hledger-ui/Hledger/UI/Main.hs +# XXX run older GHCI because ghci-ui fails most of the time with 9.0 +# $(STACKGHCI) exec -- $(GHCI) $(BUILDFLAGS) hledger-ui/Hledger/UI/Main.hs ghci-web: webdirs $(call def-help,ghci-web, start ghci REPL on hledger-lib + hledger + hledger-web) $(STACKGHCI) exec -- $(GHCI) $(BUILDFLAGS) hledger-web/app/main.hs