$ ~/.local/bin/stack hoogle Hoogle isn't installed. Automatically installing (use --no-setup to disable) ... Minimum version is hoogle-5.0. Found acceptable hoogle-5.0.16 in your index, installing it.
It seems that the env vars were not respected. How to use proxy with stack hoogle?
Regards, Guanpeng Xu
Neil Mitchell
unread,
Jan 14, 2018, 4:48:30 PM1/14/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Guanpeng Xu, haskell-stack
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 picking it up.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haskell-stack
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.