[Haskell-cafe] Local mirrors of hackage

Vo Minh Thu noteed at gmail.com
Wed Feb 24 20:24:16 UTC 2016

Here is a script that I use. The whole mirror can also be downloaded
through rsync if that helps.


2016-02-24 20:37 GMT+01:00 Victor Miller <victorsmiller at gmail.com>:
> John, Thanks very much.
> Victor
> On Wed, Feb 24, 2016 at 1:16 PM, John Wiegley <johnw at newartisans.com> wrote:
>>>>>>> Victor Miller <victorsmiller at gmail.com> writes:
>>> I have a computer that I work on which isn't directly connected to the
>>> internet, that I want to use Haskell on. In order to do that I want a local
>>> version of hackage. I was previously able to do this using
>>> mirror_hackage.py, but since hackage 2 came around this no longer works.
>>> Doing this would involve running something on a computer that *is* attached
>>> to the internet, and then transferring a bunch of files over to the other
>>> computer. Can someone point me to a recipe for doing this?
>> I wrote https://github.com/jwiegley/hackage-mirror to do just this, with
>> relatively high performance for incremental updates.
>> Also, if you're ever a Nix user, you can modify the core Haskell builder to
>> reference whatever directory you mirror to first, before reaching out to the
>> Internet for tarballs. I've been using this effectively for several years now.
>> --
>> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
>> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list