[Haskell-cafe] How to add constraint to .cabal?

Brent Yorgey byorgey at seas.upenn.edu
Thu Jul 19 15:46:44 CEST 2012

On Thu, Jul 19, 2012 at 09:37:52AM +0800, Magicloud Magiclouds wrote:
> Hi,
>   Say I have a package that only appends
> --constraint="template-haskell=="
> --constraint="warp-tls==1.2.1" could I install it. Now I want to
> release the package, then how could I have these constraint into the
> .cabal so the user would not get troubled?

Using the build-depends field.  See


More information about the Haskell-Cafe mailing list