[Hackage] #393: Allow --preference= flags for soft constraints
Hackage
trac at galois.com
Thu Dec 18 16:53:12 EST 2008
#393: Allow --preference= flags for soft constraints
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: cabal-install-0.6
Component: cabal-install tool | Version: 1.2.3.0
Severity: normal | Resolution: fixed
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.3 | Platform:
---------------------------------+------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
{{{
Thu Dec 18 20:49:17 GMT 2008 Duncan Coutts <duncan at haskell.org>
* Generalise the way preferences are specified to the resolver
We still provide a default global policy, but now we give a
list of per-package preferences which can be on the version
or installed state. Later preferences override earlier ones.
Thu Dec 18 21:38:49 GMT 2008 Duncan Coutts <duncan at haskell.org>
* Add a install/upgrade --preference='foo < 2' flag
This behaves just like the preferred-versions file in the hackage index
but it can be specified on the command line or in a config file.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/393#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list