I imagine cabal install --allow-newer will also work for many cases, if the --constraint approach fails.
cabal install --allow-newer
--constraint