diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-07 12:13:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-07 12:31:36 +0200 |
commit | 3302e03ba0edca49347c6a2b215e56bd53a6b113 (patch) | |
tree | c2a0091876ed78c4d5629766ea12c3420ec2acdb /gnu/packages/gd.scm | |
parent | 1e6fe44da874b96695047dbd3d2b0cc070de9b44 (diff) | |
download | guix-3302e03ba0edca49347c6a2b215e56bd53a6b113.tar.gz |
services: guix: Add 'set-http-proxy' action.
Fixes <https://bugs.gnu.org/25569>. Reported by Divan Santana <divan@santanas.co.za>. * gnu/services/base.scm (shepherd-set-http-proxy-action): New procedure. (guix-shepherd-service): Add 'actions' field. Change 'start' to a lambda; check the value of the "http_proxy" environment variable and add "http_proxy" and "https_proxy" to #:environment-variables as a function of that. * gnu/tests/base.scm (run-basic-test)["guix-daemon set-http-proxy action", "guix-daemon set-http-proxy action, clear"]: New tests. * doc/guix.texi (Base Services): Document it.
Diffstat (limited to 'gnu/packages/gd.scm')
0 files changed, 0 insertions, 0 deletions