Following @SamB's advice and experimenting a bit, I use the following solution:
export HTTP_PROXY="::"
Here is part of the experimental journal:
Try the @SamB solution:
[12:10:35z ~]:export HTTP_PROXY="" [12:11:47z ~]:set|grep HTTP HTTP_PROXY= [12:11:50z ~]:cabal update Downloading the latest package list from hackage.haskell.org cabal.exe: connect: failed (Connection refused (WSAECONNREFUSED))
Try the "smart person" solution:
[12:11:54z ~]:export HTTP_PROXY="None" [12:12:02z ~]:set|grep HTTP HTTP_PROXY=None [12:12:04z ~]:cabal update Downloading the latest package list from hackage.haskell.org cabal.exe: user error [\] (openTCPConnection: host lookup failure for "None")
Try the "foolish person" solution:
[12:23:44z ~]:export HTTP_PROXY="::" [12:24:00z ~]:set|grep HTTP HTTP_PROXY=:: [12:24:04z ~]:cabal update Downloading the latest package list from hackage.haskell.org Warning: invalid http proxy uri: "::" Warning: proxy uri must be http with a hostname Warning: ignoring http proxy, trying a direct connection Note: there is a new version of cabal-install available. To upgrade, run: cabal install cabal-install [12:24:34z ~]:
Yay
source share