[Haskell-cafe] stack ignores my config.yaml?

Michael Snoyman michael at snoyman.com
Mon Apr 3 16:08:59 UTC 2017


The new script command was explicitly designed to ignore local
configuration files to allow for complete reproducibility, which has
historically been quite difficult with `runghc`. If instead you _do_ want
to respect local config, you should use the previous `runghc` command
approach.

On Mon, Apr 3, 2017 at 7:04 PM, Adam Bergmark <adam at bergmark.nl> wrote:

> I assumed that would work, but you can also specify the packages on your
> `-- stack [..]` line in imap.hs
>
> I may be overrlooking something.
>
> HTH,
> Adam
>
>
> On Mon, 3 Apr 2017 at 16:17 Alexey Egorov via Haskell-Cafe <
> haskell-cafe at haskell.org> wrote:
>
>> Hello haskellers,
>>
>> I'm trying to use stack scripting capabilities, but it gives me an error
>> (and suggestion to fix it by adding some lines to extra-deps in
>> config.yaml).
>> However, adding this lines to config.yaml doesn't change anything. My
>> script and config are here - https://pastebin.com/PyRMQtqw
>>
>> Any help would be appreciated.
>> _______________________________________________
>> 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/20170403/a0697124/attachment.html>


More information about the Haskell-Cafe mailing list