[Haskell-cafe] Non-hackage cabal source

Antoine Latter aslatter at gmail.com
Wed Nov 3 09:47:25 EDT 2010


On Wed, Nov 3, 2010 at 4:14 AM, Erik Hesselink <hesselink at gmail.com> wrote:
> On Wed, Nov 3, 2010 at 06:49, Tony Morris <tonymorris at gmail.com> 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://myhackage/packages/archive
>
> That's what the normal hackage entry says, and what I use for our own
> local hackage.
>

You should be able to host package files out of either location. I
don't have enough information in front of me to tell you the exact
paths you need to host at, however. The '-v' argument to 'cabal'
helped me when I was trying it.

Antoine


More information about the Haskell-Cafe mailing list