Problems building cabal-install?

Viktor Dukhovni ietf-dane at dukhovni.org
Sat Nov 25 22:23:33 UTC 2023


On Sat, Nov 25, 2023 at 05:09:59PM -0500, Ben Gamari wrote:
> Viktor Dukhovni <ietf-dane at dukhovni.org> writes:
> 
> > Just, for example:
> >
> >     $ cabal install --constraint "cabal-install ^>= 3.4" cabal-install
> >
> > This fails due to a conflict between Cabal-3.4 and Cabal-syntax-3.10,
> > (which is not the right choice of dependency for Cabal 3.4).
> >
> > The hackage dependency data looks wrong, the "cabal-syntax" flag in
> > "hackage-security" should not default to "on", and then an older
> > version of "Cabal-syntax" would be chosen.
>
> Which GHC version are you attempting to build with? My guess is that
> `cabal-install-3.4` excludes your GHC's `base` via its version
> constraints.

No, I'm specifically using GHC 8.10, which actually comes with the Cabal
3.4 library.  Also tried 8.8 with same results.

-- 
    Viktor.


More information about the ghc-devs mailing list