Skip to content

Commit

Permalink
Update setupMinCabalVersionConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
ffaf1 committed Apr 10, 2024
1 parent bd0d321 commit 9203806
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 @@ -1369,6 +1369,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 9203806

Please sign in to comment.