From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Proxy documentation is not clear Date: Tue, 21 Feb 2017 09:43:35 +0000 Message-ID: <20170221094335.n3qgf5jj7437aoyw@wasp> References: <20170219170623.sdtm536s7joncoqf@wasp> <20170221033240.GA19206@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cg6xL-0004dN-1Z for help-guix@gnu.org; Tue, 21 Feb 2017 04:41:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cg6xI-0007g6-0r for help-guix@gnu.org; Tue, 21 Feb 2017 04:41:59 -0500 Received: from latitanza.investici.org ([2001:888:2000:56::19]:48131) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cg6xH-0007fA-Mq for help-guix@gnu.org; Tue, 21 Feb 2017 04:41:55 -0500 Content-Disposition: inline In-Reply-To: <20170221033240.GA19206@jasmine> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Leo Famulari Cc: help-guix@gnu.org On 17-02-20 22:32:40, Leo Famulari wrote: > 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. Exactly, for systemd I would have been able to find it out, but I wonder how to achieve this in GuixSD.