{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreibnpy7xajh7lojlq42dnsnzym3mildvgfupgdg4mh7vw25ikteshu",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mo4jbrp2a662"
  },
  "path": "/t/narrowing-range-of-ghcs-able-to-build-cabal/14269#post_1",
  "publishedAt": "2026-06-12T18:39:01.000Z",
  "site": "https://discourse.haskell.org",
  "tags": [
    "github.com/haskell/cabal",
    "Narrow GHC support window from 5 to 3 years (#11966)",
    "Bodigrim",
    "+28\n-656",
    ""
  ],
  "textContent": "Cabal project narrows the range of GHCs able to build `Cabal-syntax`, `Cabal`, `cabal-install-solver`, `cabal-install`, etc. to support 3 years worth of compilers, which currently spans back to GHC 9.4.\n\nTo avoid ambiguity: as of now it does not narrow the range of GHCs which Cabal-the-executable is able to _drive_ , e. g., one is still able to use a new Cabal executable to compile their packages with GHC 8.X. It’s only that Cabal source code itself requires from Cabal developers to use a newer GHC.\n\nThe motivation is to be able to rely on newer versions of boot libraries, to maintain less shims for backward compatibility and to run fewer CI jobs (validating that backward compatibility), thus reducing barriers to contribute to Cabal.\n\nFor comparison, GHC source code is only buildable with the two latest GHC releases.\n\ngithub.com/haskell/cabal\n\n####  Narrow GHC support window from 5 to 3 years (#11966)\n\n`master` ← `three-years`\n\nopened 11:27PM - 11 Jun 26 UTC\n\n\n\n            Bodigrim\n          \n\n\n+28\n-656\n\n\nAs discussed in #11723. [The last GHC 9.2 was released more than 3 years ago…](https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC%20Status#all-released-ghc-versions), which leaves us with GHC 9.4+. **Template Α: This PR modifies [behaviour or interface](https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#changelog)** Include the following checklist in your PR: * [x] Patches conform to the [coding conventions](https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#other-conventions). * [x] Any changes that could be relevant to users [have been recorded in the changelog](https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#changelog). * [ ] [Is the change significant?](https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#is-my-change-significant) If so, remember to add `significance: significant` in the changelog file. * [ ] The documentation has been updated, if necessary. * [ ] [Manual QA notes](https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#qa-notes) have been included. * [ ] Tests have been added. (*Ask for help if you don’t know how to write them! Ask for an exemption if tests are too complex for too little coverage!*)",
  "title": "Narrowing range of GHCs able to build Cabal"
}