<div dir="ltr">The image I created is designed to mount your source code into the image.<div><br></div><div>You could certainly stick the source code in the image. do a make, and then distribute that docker image.</div><div>The problem is now: how do you modify files with Emacs?</div><div>Before it was easy: the source code is mounted from your file system, so you just edit it like you normally would.</div><div>There may be solutions here, particularly if everyone is comfortable with using the same few editors. I did put vim into this docker image to have something to edit commit messages with when using arc (although it is probably a better workflow to use arc from the host).</div><div><br></div><div>Another problem with this approach of course is that you have to download all the binaries that were built (you don't have to re-download anything else), which will be slow for some.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 7:25 AM, Benno Fünfstück <span dir="ltr"><<a href="mailto:benno.fuenfstueck@gmail.com" target="_blank">benno.fuenfstueck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br></div><span class=""><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Hacking on GHC for the first time is death by a thousand cuts.</blockquote></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div>Any one part of the process is not that bad, but as a whole the process is very cumbersome for someone new.</div></div></div></blockquote><div><br></div></span><div>With the docker image, would it be possible to distribute pre-built versions of the GHC source tarball? Maybe phabricator could do this? The biggest overhead for me always is that compiling the source the first time takes something like 2 hours (even without optimizations) on my machine. If there was a pre-built version, I could just change one file and only recompile what I changed.<br><br>--<br></div><div>Benno<br></div><div><br><br></div></div><br></div></div>
<br>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>