
On Sat, Nov 25, 2023 at 01:07:37AM -0500, Viktor Dukhovni wrote:
I am having a rather unexpected difficulty building older versions of cabal-install. The invariably run into conflicts between "Cabal" and "Cabal-syntax".
The latter shows up as a dependency of "Cabal" on hackage, but not in the upstream Git repo. Is there is there some sort of problem with the hackage metadata for Cabal 3.0, 3.2, 3.4, ...
It is odd for these to have "Cabal-syntax 3.10.*" as a dependency, with conflicting definitions.
I was able to build 'cabal-3.4' from git, after running "cabal freeze" and editing the freeze file to clear the "+cabal-syntax" flag that for some reason was getting set for "hackage-security" (seems to the source of problem) and removing the "3.10" pin for "Cabal-syntax". -- Viktor.