Hi Daniel,

--allow-newer is a blunt instrument, not much surprise it fails. Use a more precise incantation: cabal build --allow-newer='cabal-bounds:*,cabal-lenses:*’ works fine for me.

Best regards,
Andrew

On 31 May 2024, at 14:17, Daniel Trstenjak <daniel.trstenjak@gmail.com> wrote:


> Sharing your project would help, otherwise it’s hard to diagnose.

The project is https://github.com/dan-t/cabal-bounds. Cloning the current version
and building it with ghc-9.8.2, cabal-3.10.3.0 and ´cabal build —allow-newer´ should result in the
described error.

Greetings,
Daniel
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.