[Haskell-cafe] Specifying build flags in cabal depencies

Aycan iRiCAN iricanaycan at gmail.com
Tue Sep 9 09:32:31 UTC 2014


Hi Pedro,

You may want to add a cabal.config file to your project which includes
constraints like:

"constraints: snap-server == 0.9.4.5, snap-server +fopenssl"

On Tue, Sep 9, 2014 at 12:09 PM, Pedro Vasconcelos <pbv at dcc.fc.up.pt> wrote:

>
> Hello,
>
> I've run across an annoyance with a Haskell project of mine that
> requires Snap built with SSL: I couldn't find a way to specify the flag
> "-fopensll" to pass when building the snap-server package. This means
> that building on a new machine requires either manually installing
> the right version of snap-server with -fopenssl or re-installing with
> after the Cabal build.
>
> Is there a better way to do this?
>
> Thanks,
>
> Pedro
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
http://www.google.com/profiles/iricanaycan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140909/7dc08850/attachment.html>


More information about the Haskell-Cafe mailing list