From 464e7a762819ebf9ebf1e7dc4d68d0d65121ab68 Mon Sep 17 00:00:00 2001 From: Francesco Ariis Date: Wed, 24 Apr 2024 14:03:22 +0200 Subject: [PATCH] Support GHC 9.12 (cherry picked from commit da6bdefd844fe292220a2bc854f401f58e27f073) --- Cabal/src/Distribution/Simple/GHC.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cabal/src/Distribution/Simple/GHC.hs b/Cabal/src/Distribution/Simple/GHC.hs index d22c7f61849..614de758045 100644 --- a/Cabal/src/Distribution/Simple/GHC.hs +++ b/Cabal/src/Distribution/Simple/GHC.hs @@ -161,14 +161,14 @@ configure verbosity hcPath hcPkgPath conf0 = do (userMaybeSpecifyPath "ghc" hcPath conf0) let implInfo = ghcVersionImplInfo ghcVersion - -- Cabal currently supports ghc >= 7.0.1 && < 9.10 + -- Cabal currently supports ghc >= 7.0.1 && < 9.12 -- ... and the following odd development version - unless (ghcVersion < mkVersion [9, 10]) $ + unless (ghcVersion < mkVersion [9, 12]) $ warn verbosity $ "Unknown/unsupported 'ghc' version detected " ++ "(Cabal " ++ prettyShow cabalVersion - ++ " supports 'ghc' version < 9.10): " + ++ " supports 'ghc' version < 9.12): " ++ programPath ghcProg ++ " is version " ++ prettyShow ghcVersion