[Haskell-cafe] Stack project, dependency with build flags

Saurabh Nanda saurabhnanda at gmail.com
Thu Sep 6 16:22:46 UTC 2018


Additionally you can also pass these flags via the command line. You might
have to keep a different set of flags in your git repo, and use a different
set of flags for your local dev.

I had a similar problem with hlibsass and mac os.

On Thu 6 Sep, 2018, 8:30 PM Michael Snoyman, <michael at snoyman.com> wrote:

> No problem.
>
> On Thu, Sep 6, 2018 at 3:51 PM John Z. <johnz at pleasantnightmare.com>
> wrote:
>
>> > IIUC, you can set additional flags in your stack.yaml file:
>> >
>> > flags:
>> >   ncurses:
>> >     flagname: true # or false
>> >
>>
>> Thank you, that was exactly what I needed. I wasn't aware there's a
>> `flags` section in stack.yaml.
>>
>>
>> --
>> "That gum you like is going to come back in style."
>> _______________________________________________
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> Only members subscribed via the mailman list are allowed to post.
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180906/f087dfee/attachment.html>


More information about the Haskell-Cafe mailing list