I use Stack to build on my local machine, but Homebrew uses Cabal. This means that sometimes a build will work fine for me, but then not work in Homebrew. This seems to be because Cabal uses the latest packages, whereas Stack uses the ones from the resolver.
Is there a way to generate the package versions in the .cabal file automatically based on the current resolver? (I'm using a package.yaml file)
stack sdist --pvp-bounds: fpcomplete.com/blog/2015/09/stack-pvp - sjakobi