Ticket #925 (closed defect: fixed)
Unused constraints result in "no available version"
| Reported by: | snoyberg | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | cabal-install-0.14 |
| Component: | cabal-install tool | Version: | 1.10.2.0 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | unknown | |
| GHC Version: | Platform: |
Description
When testing out my recently released cabal nirvana[1], 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 ==1.0.0.1
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.
Change History
Note: See
TracTickets for help on using
tickets.
