Skip to content

Commit

Permalink
Revert "Extend support-window to accomodate GHC HEAD which has been b…
Browse files Browse the repository at this point in the history
…umped to v8.7"

This reverts commit 3b98a57.
  • Loading branch information
hvr committed Aug 1, 2018
1 parent 2be59bc commit 05a726f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cabal/Distribution/Simple/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ configure verbosity hcPath hcPkgPath conf0 = do
(userMaybeSpecifyPath "ghc" hcPath conf0)
let implInfo = ghcVersionImplInfo ghcVersion

-- Cabal currently supports ghc >= 7.0.1 && < 8.8
unless (ghcVersion < mkVersion [8,8]) $
-- Cabal currently supports ghc >= 7.0.1 && < 8.7
unless (ghcVersion < mkVersion [8,7]) $
warn verbosity $
"Unknown/unsupported 'ghc' version detected "
++ "(Cabal " ++ display cabalVersion ++ " supports 'ghc' version < 8.8): "
++ "(Cabal " ++ display cabalVersion ++ " supports 'ghc' version < 8.7): "
++ programPath ghcProg ++ " is version " ++ display ghcVersion

-- This is slightly tricky, we have to configure ghc first, then we use the
Expand Down

0 comments on commit 05a726f

Please sign in to comment.