Re: Using proxy with stack hoogle

2018-01-14 Thread Guanpeng Xu
Dear Neil, Thanks for the tip. In the log I found out the reason. It was because that I enabled nix but did not make the environment impure. By adding pure: false the problem is resolved. Regards, Guanpeng Xu On Monday, January 15, 2018 at 5:48:30 AM UTC+8, Neil Mitchell wrote: > > Hi Guanpeng

Re: Using proxy with stack hoogle

2018-01-14 Thread Neil Mitchell
Hi Guanpeng, Does it fail if you run without the proxy set? If so, can you paste a trace with --verbose which includes the failure message? Generally, the Haskell http library used by both Stack and Hoogle takes care of http_proxy for you automatically so it's surprising that something isn't picki

Using proxy with stack hoogle

2018-01-14 Thread Guanpeng Xu
Hello, I want to use stack hoogle through a proxy. Here is what I tried: $ ~/.local/bin/stack --version Version 1.6.3, Git revision b27e629b8c4ce369e3b8273f04db193b06db (5454 commits) x86_64 hpack-0.20.0 $ env | grep proxy https_proxy=socks5h://127.0.0.1:12800 http_proxy=socks5h://127.0.0.1