From 4fde5182ca6370e72fd3de972b6e5b2c7bdd850f Mon Sep 17 00:00:00 2001 From: Mikolaj Konarski Date: Thu, 12 Jan 2023 21:08:58 +0100 Subject: [PATCH] Pretend we support GHC 9.6 so that people can comfortably test with 9.6alpha --- 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 c1352dbba5c..558927425d1 100644 --- a/Cabal/src/Distribution/Simple/GHC.hs +++ b/Cabal/src/Distribution/Simple/GHC.hs @@ -140,12 +140,12 @@ configure verbosity hcPath hcPkgPath conf0 = do (userMaybeSpecifyPath "ghc" hcPath conf0) let implInfo = ghcVersionImplInfo ghcVersion - -- Cabal currently supports ghc >= 7.0.1 && < 9.6 + -- Cabal currently supports ghc >= 7.0.1 && < 9.8 -- ... and the following odd development version - unless (ghcVersion < mkVersion [9,6]) $ + unless (ghcVersion < mkVersion [9,8]) $ warn verbosity $ "Unknown/unsupported 'ghc' version detected " - ++ "(Cabal " ++ prettyShow cabalVersion ++ " supports 'ghc' version < 9.6): " + ++ "(Cabal " ++ prettyShow cabalVersion ++ " supports 'ghc' version < 9.8): " ++ programPath ghcProg ++ " is version " ++ prettyShow ghcVersion -- This is slightly tricky, we have to configure ghc first, then we use the