@@ -1065,6 +1065,7 @@ planPackages verbosity comp platform solver SolverSettings{..}
1065
1065
-- respective major Cabal version bundled with the respective GHC
1066
1066
-- release).
1067
1067
--
1068
+ -- GHC 8.4 needs Cabal >= 2.4
1068
1069
-- GHC 8.4 needs Cabal >= 2.2
1069
1070
-- GHC 8.2 needs Cabal >= 2.0
1070
1071
-- GHC 8.0 needs Cabal >= 1.24
@@ -1076,11 +1077,12 @@ planPackages verbosity comp platform solver SolverSettings{..}
1076
1077
-- TODO: long-term, this compatibility matrix should be
1077
1078
-- stored as a field inside 'Distribution.Compiler.Compiler'
1078
1079
setupMinCabalVersionConstraint
1079
- | isGHC, compVer >= mkVersion [8 ,4 ,1 ] = mkVersion [2 ,2 ]
1080
- -- GHC 8.4.1-rc1 (GHC 8.4 .0.20180224 ) still shipped with an
1081
- -- devel snapshot of Cabal-2.1 .0.0; the rule below can be
1080
+ | isGHC, compVer >= mkVersion [8 ,6 ,1 ] = mkVersion [2 ,4 ]
1081
+ -- GHC 8.6alpha2 (GHC 8.6 .0.20180714 ) still shipped with a
1082
+ -- devel snapshot of Cabal-2.3 .0.0; the rule below can be
1082
1083
-- dropped at some point
1083
- | isGHC, compVer >= mkVersion [8 ,4 ] = mkVersion [2 ,1 ]
1084
+ | isGHC, compVer >= mkVersion [8 ,6 ] = mkVersion [2 ,3 ]
1085
+ | isGHC, compVer >= mkVersion [8 ,4 ] = mkVersion [2 ,2 ]
1084
1086
| isGHC, compVer >= mkVersion [8 ,2 ] = mkVersion [2 ,0 ]
1085
1087
| isGHC, compVer >= mkVersion [8 ,0 ] = mkVersion [1 ,24 ]
1086
1088
| isGHC, compVer >= mkVersion [7 ,10 ] = mkVersion [1 ,22 ]
0 commit comments