Context: I have updated my ghc
to version 9.8.2
. As usual, some dependencies aren’t working anymore… Also as usual, a simple cabal build all --allow-newer
resolve the problem. Now, everytime I run a command I have to pass the --allow-newer
flag, which is anoying.
I think there should be a workflow to automatically update your .cabal
bounds. I’ve tried cabal gen-bounds
but it turns out it tries to build the project and find a conflict… surprinsingly gen-bounds
command doesn’t accept --allow-newer
flag, nor freeze files nor project files.
I find there is a tool called cabal-bounds
but I can’t be built with ghc-9.8.X
as far as I can tell.
So the question is: do you deal with upper (or lower) bounds manually or automatically, which workflow fits you better