Provide a flag which allows overriding `dontUpgradeNonUpgradeablePackages`
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
In GHC CI we have a job which builds ghc and its dependencies using `cabal-install`. This broke with the release of cabal-install-3.10 because `ghc` is now marked as a nonUpgradeable package.
It would be good if there was an option to disable this check so we could continue testing our support for building with cabal for the future when it is possible to upgrade the `ghc` package.
GHC Ticket: https://gitlab.haskell.org/ghc/ghc/-/issues/23117
Contributor guide
Research direction
Start by locating `dontUpgradeNonUpgradeablePackages` and the option-parsing entry points in cabal-install, then inspect how the GHC CI job invokes Cabal. Add a flag that disables this check and verify the GHC-and-dependencies build scenario can proceed while the default behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100