Skip to content

Commit de323c1

Browse files
committed
Workaround GHC 8.4.1-rc1 shipping w/ an outdated Cabal-2.1 snapshot
1 parent a503345 commit de323c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cabal-install/Distribution/Client/ProjectPlanning.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ planPackages verbosity comp platform solver SolverSettings{..}
10391039
-- respective major Cabal version bundled with the respective GHC
10401040
-- release).
10411041
--
1042-
-- GHC 8.4 needs Cabal >= 2.2
1042+
-- GHC 8.4 needs Cabal >= 2.1 (GHC 8.4.1-rc1 has Cabal-2.1)
10431043
-- GHC 8.2 needs Cabal >= 2.0
10441044
-- GHC 8.0 needs Cabal >= 1.24
10451045
-- GHC 7.10 needs Cabal >= 1.22
@@ -1050,7 +1050,7 @@ planPackages verbosity comp platform solver SolverSettings{..}
10501050
-- TODO: long-term, this compatibility matrix should be
10511051
-- stored as a field inside 'Distribution.Compiler.Compiler'
10521052
setupMinCabalVersionConstraint
1053-
| isGHC, compVer >= mkVersion [8,4] = mkVersion [2,2]
1053+
| isGHC, compVer >= mkVersion [8,4] = mkVersion [2,1]
10541054
| isGHC, compVer >= mkVersion [8,2] = mkVersion [2,0]
10551055
| isGHC, compVer >= mkVersion [8,0] = mkVersion [1,24]
10561056
| isGHC, compVer >= mkVersion [7,10] = mkVersion [1,22]

0 commit comments

Comments
 (0)