[Haskell-cafe] Cabal and IPv6

Serguey Zefirov sergueyz at gmail.com
Tue May 2 14:53:35 UTC 2017


2017-05-02 15:58 GMT+03:00 Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
:

> Hi,
>
> On 2 May 2017 at 12:52, Serguey Zefirov <sergueyz at gmail.com> wrote:
> > Cabal internally uses IPv4 calls/data structures, it seems. And fails.
>
> I believe that cabal-install itself has no IPv4-specific code, since
> all that stuff is encapsulated by the HTTP library. From [1] it looks
> like the HTTP library supports IPv6.
>
> > A proposition: is it even remotely good idea to replace in cabal source
> code
> > all calls to web API to invocation of curl/wget?
>
> This is how it works already when fetching over HTTPS (if you're on
> Windows, it can also use PowerShell as a transport method). Try
> changing the Hackage url in .cabal/config to
> https://hackage.haskell.org.
>

I am at cabal 1.16 (yep, Ubuntu 14.04 LTS) and "https is not supported".

Very sad. :(

I think I'd go  looking for side ways.

>
>
> [1] https://github.com/haskell/HTTP/pull/59
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170502/69beb423/attachment.html>


More information about the Haskell-Cafe mailing list