Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Script to mirror the Haskell Hackage repository
branch: master

Note about capacity planning.

latest commit 69808ea9ce
Jamie Turner authored
Failed to load latest commit information. Note about capacity planning. Fix print overrun.

A script for mirroring Haskell's "Hackage" package repository.

Mirroring Hackage is useful for both leveraging local bandwidth as well as being robust against the public Hackage going down while you're doing critical builds/deployments.

It's written in Python 2 and uses the requests library found at .

It is crash-safe and it resumes long synchronizations. It treads lightly on the upstream server and uses checksums to make sure it has processed all packages in the upstream log.

Modify the remote-repo: entry in ~/.cabal/config to point machines to your local mirror.

Note: expect to devote 10-15GB to your Hackage mirror as of 2012-08

Something went wrong with that request. Please try again.