Lower cabal-version to 3.6 and default-language to GHC2021#434
Merged
Conversation
Fixes Hackage build matrix failures on GHC < 9.10 (which ships with Cabal < 3.12 and cannot parse cabal-version: 3.12 or recognize GHC2024).
eseliger
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hackage's build matrix tries
scip-0.8.0on GHC 9.8.4 and fails before reaching compilation:GHC 9.8.x ships with
Cabal-3.10.x, which understandscabal-versiononly up to3.10. The previouscabal-version: 3.12was required bydefault-language: GHC2024(theGHC2024token was added in Cabal 3.12).Lowering both to the minimum that still supports our usage:
cabal-version: 3.6— minimum version that recognizesdefault-language: GHC2021default-language: GHC2021— supported by GHC 9.2+ and any Cabal ≥ 3.6No source changes needed: the proto-lens-generated modules build cleanly under
GHC2021.cabal checkandcabal buildboth pass locally.This will ship with the next release; the failed
scip-0.8.0build reports on Hackage are cosmetic (users on GHC 9.10+ install fine), so no0.8.0revision is planned.