[Haskell-cafe] Non-hackage cabal source

Tony Morris tonymorris at gmail.com
Wed Nov 3 01:49:47 EDT 2010

I am trying to set up an apache server as an additional source to
hackage for haskell packages.

I have added to my ~/.cabal/config file:
remote-repo: myhackage:http://myhackage/packages

I am able to successfully make the HTTP requests:

I can execute:

$ tar -tvf 00-index.tar.gz
-rw-r--r-- root/root      1491 2010-11-03 15:16

However, when I try to unpack my package with cabal:
$ cabal unpack MyPackage
Downloading MyPackage-0.0.1...
cabal: Failed to download
http://myhackage/packages/package/MyPackage-0.0.1.tar.gz : ErrorMisc
"Unsucessful HTTP code: 404"

Why is cabal even making this request?
Why is it not making the request to

Thanks for any tips.

Tony Morris


More information about the Haskell-Cafe mailing list