[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proxy documentation is not clear

From: Leo Famulari
Subject: Re: Proxy documentation is not clear
Date: Mon, 20 Feb 2017 22:32:40 -0500
User-agent: Mutt/1.7.2 (2016-11-26)

On Sun, Feb 19, 2017 at 05:06:23PM +0000, ng0 wrote:
> Substitutes are downloaded over HTTP or HTTPS. The http_proxy
> environment variable can be set in the environment of guix-daemon and
> is honored for downloads of substitutes. Note that the value of
> http_proxy in the environment where guix build, guix package, and
> other client commands are run has absolutely no effect. 
> None of these pages provides any example or further explanation on how
> this could be achieved, for example to make Guix use a socks5 proxy
> systemwide. I know how this can be achieved with iptables etc, but it
> would be better if the documentation is fixed. I have no idea how in
> this case as the documentation is not clear.

It depends on how you start the daemon. For systemd, you can set the
environment variable from the service file. I'm not sure how to pass
this variable to the daemon on GuixSD.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]