[Haskell-cafe] Cabal Config constraints vs. constraint

Brandon Allbery allbery.b at gmail.com
Mon Dec 22 18:48:15 UTC 2014


On Mon, Dec 22, 2014 at 1:40 PM, Christopher Reichert <creichert07 at gmail.com
> wrote:

> Do individual constraints (e.g. `constraint:`) have the same effect as a
> list of constraints?
>

Yes; also in cabal files, where that ability is used with conditionals. I
habitually add 'constraint: foo installed' for all global packages to a new
installation's ~/.cabal/config.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141222/cb2a86ce/attachment.html>


More information about the Haskell-Cafe mailing list