GNU bug report logs - #25831
Expose http_proxy setting on GuixSD

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Tue, 21 Feb 2017 17:20:01 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Leo Famulari <leo <at> famulari.name>
To: Mathieu Lirzin <mthl <at> gnu.org>
Cc: 25831 <at> debbugs.gnu.org
Subject: bug#25831: Expose http_proxy setting on GuixSD
Date: Tue, 21 Feb 2017 15:26:54 -0500
[Message part 1 (text/plain, inline)]
On Tue, Feb 21, 2017 at 07:17:03PM +0100, Mathieu Lirzin wrote:
> Not sure if this is an appropriate answer, but to customize the guix daemon
> service field like described in the example here:
> 
>   https://www.gnu.org/software/guix/manual/html_node/Using-the-Configuration-System.html#System-Services
> 
> you would have to patch "gnu/services/base.scm" by adding a field to the
> 'guix-configuration' that would be then be passed to the
> '#:environment-variables' option of 'make-forkexec-constructor' in
> 'guix-shepherd-service'.

Thank you, that helped a lot!

What do the two of you think of the attached patch?

Using the attached OS declaration, I verified that the http_proxy
environment variable is set in the guix-daemon's environment, but I
don't have a proxy to test with.
[0001-services-guix-Support-using-an-HTTP-proxy.patch (text/plain, attachment)]
[os-config-bare-bones.scm (text/plain, attachment)]

This bug report was last modified 8 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.