を設定せずにプロキシの背後で cabal を実行しようとするとHTTP_PROXY
、
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:password@proxyurl:port