<HTML><BODY>So what is preferred way to use packages together with script command?<br>I'm added all this packages to stack arguments, and now it prints:<br>> Local packages are not allowed when using the script command<br><br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
Понедельник, 3 апреля 2017, 21:09 +05:00 от Michael Snoyman <michael@snoyman.com>:<br>
<br>
<div id="">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div>
<base target="_self" href="https://e.mail.ru/">
<div id="style_14912357710000000147_BODY"><div dir="ltr">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.<br></div><div><br><div>On Mon, Apr 3, 2017 at 7:04 PM, Adam Bergmark <span dir="ltr"><<a href="mailto:adam@bergmark.nl">adam@bergmark.nl</a>></span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I assumed that would work, but you can also specify the packages on your `-- stack [..]` line in imap.hs<div><br></div><div>I may be overrlooking something.</div><div><br></div><div>HTH,</div><div>Adam</div><div><br></div></div><br><div><div><div><div dir="ltr">On Mon, 3 Apr 2017 at 16:17 Alexey Egorov via Haskell-Cafe <<a href="mailto:haskell-cafe@haskell.org">haskell-cafe@haskell.org</a>> wrote:<br></div></div></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div>Hello haskellers,<br><br>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).<br>However, adding this lines to config.yaml doesn't change anything. My script and config are here - <a href="https://pastebin.com/PyRMQtqw" target="_blank">https://pastebin.com/PyRMQtqw</a> <br><br>Any help would be appreciated.</div></div></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.<br></blockquote></div><br></div>
</div>
<base target="_self" href="https://e.mail.ru/">
</div>
</div>
</div>
</blockquote>
<br>
<br><br></BODY></HTML>