From 0c722e143be81e2178d30621e46553462486b828 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?H=C3=A9cate=20Kleidukos?= <hecate+gitlab@glitchbra.in>
Date: Tue, 5 Nov 2024 17:27:47 +0100
Subject: [PATCH] hadrian: Enforce the usage of GHC >=9.8.1 for ghci-multi

GHC 9.6 no good when it comes to multi-repl stuff, despite being well
within the range of n-2 releases for bootstrapping, when the script was
adapted to load haddock, in !12851
---
 hadrian/ghci-multi-cabal.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadrian/ghci-multi-cabal.in b/hadrian/ghci-multi-cabal.in
index 95702a3d6d1..e2d46533786 100755
--- a/hadrian/ghci-multi-cabal.in
+++ b/hadrian/ghci-multi-cabal.in
@@ -1,7 +1,7 @@
 #!/usr/bin/env sh
 
 RUN_GHC=@WithGhc@
-if [[ $(printf "9.4.0\n%s\n" $($RUN_GHC --numeric-version) | sort -uV | head -n 1) != "9.4.0" ]]; then echo "Multi-repl needs at least GHC-9.4.1"; exit 1; fi
+if [[ $(printf "9.8.1\n%s\n" $($RUN_GHC --numeric-version) | sort -uV | head -n 1) != "9.8.1" ]]; then echo "Multi-repl needs at least GHC-9.8.1"; exit 1; fi
 
 # This file is generated by configure from ghci-multi.in
 
-- 
GitLab