<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Daniel,<div><br></div><div>--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.</div><div><br></div><div>Best regards,</div><div>Andrew</div><div><div><br><blockquote type="cite"><div>On 31 May 2024, at 14:17, Daniel Trstenjak <daniel.trstenjak@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div dir="ltr"></div><div dir="ltr"><div style="display: block;"><br></div><div style="display: block;">> Sharing your project would help, otherwise it’s hard to diagnose.</div><div style="display: block;"><br></div><div style="display: block;">The project is <a href="https://github.com/dan-t/cabal-bounds">https://github.com/dan-t/cabal-bounds</a>. Cloning the current version</div><div style="display: block;">and building it with ghc-9.8.2, cabal-3.10.3.0 and ´cabal build —allow-newer´ should result in the</div><div style="display: block;">described error.</div><div style="display: block;"><br></div><div style="display: block;">Greetings,</div><div style="display: block;">Daniel</div></div></div>_______________________________________________<br>Haskell-Cafe mailing list<br>To (un)subscribe, modify options or view archives go to:<br>http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe<br>Only members subscribed via the mailman list are allowed to post.</div></blockquote></div><br></div></body></html>