當我嘗試不設置HTTP_PROXY
運行在一個代理陰謀,我得到Windows下cabal沒有代理標誌?
C:\Users\joeschmo>cabal update
Downloading the latest package list from hackage.haskell.org
cabal: openTCPConnection: host lookup failure for "hackage.haskell.org"
cabal -h
不給代理選項,我無法找到如何建立任何一個信息.cabal文件來修復這個問題。
出於安全原因,設置HTTP_PROXY
環境變量可能是一個壞主意。
任何想法?試圖找到命令行以外的解決方案:
set HTTP_PROXY=http://username:[email protected]:port
我還沒有找到任何關於這個,我一直不得不設置'HTTP_PROXY'。 – bheklilr