<div dir="ltr"><div>John, Thanks very much for hackage-mirror. I'm running it now and it appears to be working as advertised. Thanks to everyone else who responded.<br><br></div>Victor<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 1:16 PM, John Wiegley <span dir="ltr"><<a href="mailto:johnw@newartisans.com" target="_blank">johnw@newartisans.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>>>>> Victor Miller <<a href="mailto:victorsmiller@gmail.com">victorsmiller@gmail.com</a>> writes:<br>
<br>
> I have a computer that I work on which isn't directly connected to the<br>
> internet, that I want to use Haskell on. In order to do that I want a local<br>
> version of hackage. I was previously able to do this using<br>
> mirror_hackage.py, but since hackage 2 came around this no longer works.<br>
> Doing this would involve running something on a computer that *is* attached<br>
> to the internet, and then transferring a bunch of files over to the other<br>
> computer. Can someone point me to a recipe for doing this?<br>
<br>
</span>I wrote <a href="https://github.com/jwiegley/hackage-mirror" rel="noreferrer" target="_blank">https://github.com/jwiegley/hackage-mirror</a> to do just this, with<br>
relatively high performance for incremental updates.<br>
<br>
Also, if you're ever a Nix user, you can modify the core Haskell builder to<br>
reference whatever directory you mirror to first, before reaching out to the<br>
Internet for tarballs. I've been using this effectively for several years now.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F<br>
<a href="http://newartisans.com" rel="noreferrer" target="_blank">http://newartisans.com</a> 60E1 46C4 BD1A 7AC1 4BA2<br>
</font></span></blockquote></div><br></div>