[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25831: Expose http_proxy setting on GuixSD
From: |
Leo Famulari |
Subject: |
bug#25831: Expose http_proxy setting on GuixSD |
Date: |
Tue, 21 Feb 2017 15:26:54 -0500 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
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
Description: Text document
os-config-bare-bones.scm
Description: Text document
- bug#25831: Expose http_proxy setting on GuixSD, Leo Famulari, 2017/02/21
- bug#25831: Expose http_proxy setting on GuixSD, Mathieu Lirzin, 2017/02/21
- bug#25831: Expose http_proxy setting on GuixSD,
Leo Famulari <=
- bug#25831: Expose http_proxy setting on GuixSD, Mathieu Lirzin, 2017/02/22
- bug#25831: Expose http_proxy setting on GuixSD, Leo Famulari, 2017/02/22
- bug#25831: Expose http_proxy setting on GuixSD, Mathieu Lirzin, 2017/02/22
- bug#25831: Expose http_proxy setting on GuixSD, Leo Famulari, 2017/02/22
- bug#25831: Expose http_proxy setting on GuixSD, ng0, 2017/02/23
- bug#25831: Expose http_proxy setting on GuixSD, Leo Famulari, 2017/02/23
- bug#25831: Expose http_proxy setting on GuixSD, ng0, 2017/02/23