
On Sat, Nov 25, 2023 at 05:09:59PM -0500, Ben Gamari wrote:
Viktor Dukhovni
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.