
2017-05-02 15:58 GMT+03:00 Mikhail Glushenkov
Hi,
On 2 May 2017 at 12:52, Serguey Zefirov
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.