With the release of GHC 7.10 and the accompanying version bump on the base
package I found myself in the situation that I needed to fix my library dependencies.
For the moment I have run cabal install --allow-newer
which found a set of working versions and installed fine.
Now I am in the process of manually searching through the installed libraries and updating the cabal files version bounds by hand.
Is there an easier/automatic way to do this?
I regularly use packdeps
to check on my dependencies and bump any that are too restrictive. As well as the website, there's a hackage package so you can run it locally.
Once I bump a dependency, e.g. by bumping foo < 1.5
to foo < 1.6
, I build and test locally using the --constraint 'foo>=1.5'
argument to cabal
, to check that the new version does indeed work.
You might like the tool cabal-bounds.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With