Ticket #925 (closed defect: fixed)
Unused constraints result in "no available version"
|Reported by:||snoyberg||Owned by:|
When testing out my recently released cabal nirvana, Greg Weber pointed out than when building a package that does not use all of the constraints in the Nirvana file, you get a message such as:
cabal: There is no available version of authenticate that satisfies ==220.127.116.11
I confirmed that this happens with command-line constraints as well. A simple test case is to go into a non-Yesod project and run:
cabal install --constraint "yesod >= 0.10"
Unfortunately, this prevents nirvana from being of any use at all, which was our best shot at avoiding dependency hell.