How to update .cabal file using Stack?

I have an older project that I created using Stack. I want to move my project to the last set of LTS from Stackage.

When I change the resolver in the stack.yaml file, the problem is that the versions in the additional files in the .cabal file are still for the old LTS set. Is there a way to automatically update version numbers in a .cabal file using Stack?

+4
source share
1 answer

You can simply remove the (some) upper bounds build-dependsin your cache file.

, , --pvp-bounds, . stack sdist --pvp-bounds upper, stack upload --pvp-bounds both ..

.

0

All Articles