From 3b98a57e0963754eac1a164a53dea73c4ce648c9 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Fri, 22 Jun 2018 13:20:28 +0200 Subject: [PATCH] Extend support-window to accomodate GHC HEAD which has been bumped to v8.7 --- Cabal/Distribution/Simple/GHC.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cabal/Distribution/Simple/GHC.hs b/Cabal/Distribution/Simple/GHC.hs index d8a22b39231..add532ebb49 100644 --- a/Cabal/Distribution/Simple/GHC.hs +++ b/Cabal/Distribution/Simple/GHC.hs @@ -131,11 +131,11 @@ configure verbosity hcPath hcPkgPath conf0 = do (userMaybeSpecifyPath "ghc" hcPath conf0) let implInfo = ghcVersionImplInfo ghcVersion - -- Cabal currently supports ghc >= 6.11 && < 8.7 - unless (ghcVersion < mkVersion [8,7]) $ + -- Cabal currently supports ghc >= 6.11 && < 8.8 + unless (ghcVersion < mkVersion [8,8]) $ warn verbosity $ "Unknown/unsupported 'ghc' version detected " - ++ "(Cabal " ++ display cabalVersion ++ " supports 'ghc' version < 8.7): " + ++ "(Cabal " ++ display cabalVersion ++ " supports 'ghc' version < 8.8): " ++ programPath ghcProg ++ " is version " ++ display ghcVersion -- This is slightly tricky, we have to configure ghc first, then we use the