diff --git a/Cabal/src/Distribution/Simple/GHC.hs b/Cabal/src/Distribution/Simple/GHC.hs index e71c20d47bc..095e657264e 100644 --- a/Cabal/src/Distribution/Simple/GHC.hs +++ b/Cabal/src/Distribution/Simple/GHC.hs @@ -162,14 +162,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