cabal
cabal copied to clipboard
cabal-install and cabal-install-solver have unnecessarily strict base <4.17 constraint on hackage
It would be great if some with the appropriate permissions could create a hackage revision for both packages and applies the constraints as they are present in the repository now – then it'd be possible to build cabal-install from hackage with GHC 9.4.2.
hi, thanks for the suggestion, in the meanwhile, if the problem is only about base you could install it with cabal install cabal-install --allow-newer="cabal-install:base,cabal-install-solver:base"
if that command does not succes, it means such hackage revisions will not be enough either.
I am already lifting the bounds on base manually which is why I opened this issue.
I guess I can do that. Only the base bound and only for cabal-install and cabal-install-solver?
Yes, I think so. The two failures I encountered were:
Configuring cabal-install-solver-3.8.1.0...
CallStack (from HasCallStack):
withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils
Error: Setup: Encountered missing or private dependencies:
base >=4.10 && <4.17
and
Configuring cabal-install-3.8.1.0...
CallStack (from HasCallStack):
withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils
Error: Setup: Encountered missing or private dependencies:
base >=4.10 && <4.17
GHC 9.4.2 otherwise ships the library versions cabal-install 3.8.1.0 wants by default (process, Cabal, Cabal-syntax).
Done, Please kindly verify and close, if it works fine.
Took a while, but can confirm that this resolves the issue!
Thank you. :)
Still not on cabal-3.8 branch...