dev: make ghci[d]-ui uses ghc 8.10 to avoid 9.0 failures

This commit is contained in:
Simon Michael 2021-12-08 16:57:42 -10:00
parent b0763677b1
commit bb249115ba

View File

@ -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