Skip to content

Commit

Permalink
Update setupMinCabalVersionConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
ffaf1 authored and Mikolaj committed Apr 12, 2024
1 parent 00835c0 commit ecb174d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cabal-install/src/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1376,6 +1376,7 @@ planPackages
-- TODO: long-term, this compatibility matrix should be
-- stored as a field inside 'Distribution.Compiler.Compiler'
setupMinCabalVersionConstraint
| isGHC, compVer >= mkVersion [9, 10] = mkVersion [3, 12]
| isGHC, compVer >= mkVersion [9, 6] = mkVersion [3, 10]
| isGHC, compVer >= mkVersion [9, 4] = mkVersion [3, 8]
| isGHC, compVer >= mkVersion [9, 2] = mkVersion [3, 6]
Expand Down

0 comments on commit ecb174d

Please sign in to comment.