
25 Nov
2023
25 Nov
'23
5:09 p.m.
Viktor Dukhovni
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