Problems building cabal-install?

Ben Gamari ben at smart-cactus.org
Sat Nov 25 22:09:59 UTC 2023


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.

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20231125/ae4ce353/attachment.sig>


More information about the ghc-devs mailing list