Re: [Haskell-cafe] Non-hackage cabal source

2010-11-04 Thread Claus Reinke
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 ev

Re: [Haskell-cafe] Non-hackage cabal source

2010-11-03 Thread Antoine Latter
On Wed, Nov 3, 2010 at 4:14 AM, Erik Hesselink wrote: > On Wed, Nov 3, 2010 at 06:49, Tony Morris wrote: >> 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/

Re: [Haskell-cafe] Non-hackage cabal source

2010-11-03 Thread Erik Hesselink
On Wed, Nov 3, 2010 at 06:49, Tony Morris wrote: > 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 Shouldn't that be: > remote-repo: myhackage:http://

[Haskell-cafe] Non-hackage cabal source

2010-11-02 Thread Tony Morris
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: http://myhackage/packages/00-index.tar.gz http://myhackage/pa