<div dir="ltr">I used <span class="gmail-blob-code-inner">fpco/stack-build:lts-<span class="gmail-x gmail-x-first gmail-x-last">9.2. Might explain, thank you!<br>Is the GHC directory layout the same in </span></span><span class="gmail-blob-code-inner"><span class="gmail-x gmail-x-first gmail-x-last">snoyberg/stackage? Just asking since the derived container hijacks the GHC executable for the indexer.<br></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-31 14:18 GMT+02:00 Michael Snoyman <span dir="ltr"><<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Which Docker image did you use for building? The (inappropriately named but hysterical raisins and all that) snoyberg/stackage Docker images are what we use for doing the actual Stackage builds.</p>
<br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Thu, Aug 31, 2017, 2:37 PM Robin Palotai <<a href="mailto:palotai.robin@gmail.com" target="_blank">palotai.robin@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div><div>Hi Niklas - sounds like a nice usecase.<br><br></div>Though we need to make sure no usages are missing to make that decision (there are some edge cases yet, for example around TH splice application, or type families). Also it's only valid on the set of indexed packages.<br><br></div>I'll merge later, but <a href="https://github.com/robinp/haskell-indexer/commit/0592c3d934515c4661c69c5b998e26a543b93b52" target="_blank">https://github.com/robinp/<wbr>haskell-indexer/commit/<wbr>0592c3d934515c4661c69c5b998e26<wbr>a543b93b52</a> has the changes necessary. Note:<br>- It didn't index ~50 packages<br>- For some it complained that C libs are missing (like SDL, though I was using the full stack-build Docker image)<br></div>- I had to kill a few huge compilations that ate my RAM (Agda, language-python, and some yi packages)<br></div><br></div>I would estimate 8-12 hours, but didn't follow closely (also it was idling quite some due to the huge compilations).<br><br></div>By the way the per-package entries are available for download in a tarball, so if you just index your local packages and dump the entries along with those of your dependencies into the graphstore, you can get a ~full local index without reexecuting the whole indexing. In the future it would be nice to have tooling that magically fetches the pre-generated entries you need, and merges them locally.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-31 13:23 GMT+02:00 Niklas Hambüchen <span dir="ltr"><<a href="mailto:mail@nh2.me" target="_blank">mail@nh2.me</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Robin,<br>
<br>
This is really awesome and useful.<br>
<br>
I think it will help a lot to decide whether or not we can<br>
change/deprecate a certain function, as now we can really easily judge<br>
how many callers it has.<br>
<br>
How long does that take to generate?<br>
And how did you run it to do it for all of Stackage?<br>
<br>
Thanks!<br>
<div class="m_-516614658560811455m_-1848039933431398680HOEnZb"><div class="m_-516614658560811455m_-1848039933431398680h5"><br>
On 31/08/17 06:41, Robin Palotai wrote:<br>
> To find out who else uses your favorite functions and<br>
> how: <a href="http://stuff.codereview.me/lts/9.2" rel="noreferrer" target="_blank">http://stuff.codereview.me/<wbr>lts/9.2</a> .<br>
</div></div></blockquote></div><br></div></div></div><span class="">
______________________________<wbr>_________________<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-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</span></blockquote></div>
</blockquote></div><br></div>