[Haskell-cafe] Non-hackage cabal source
claus.reinke at talk21.com
Thu Nov 4 11:03:56 EDT 2010
> remote-repo: myhackage:http://myhackage/packages
> 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
Seems to be a hardcoded difference in repo layouts,
in Distribution/Client/Fetch.hs:packageURI . Refers
to repo layouts for current hackage and future
package servers, although the new docs (from an
old GSoC project) and implementation do not appear
to be in synch:
Btw, I've opened a couple of related tickets:
- please clarify/document --remote-repo
- expose existing functionality: fetchPackage/unpackPackage
More information about the Haskell-Cafe