guix/doc
Ludovic Courtès 3302e03ba0
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.
2020-04-07 12:31:36 +02:00
..
images Merge branch 'staging' into core-updates 2019-03-14 16:30:19 +01:00
build.scm doc: Make sure 'htmlxref.cnf' is honored. 2020-01-12 00:19:10 +01:00
contributing.texi doc: Update guidance about Python 2 package variants. 2020-03-13 19:27:33 -04:00
environment-gdb.scm
fdl-1.3.texi doc: Use HTTPS for external links. 2020-03-10 20:26:52 +01:00
guix-cookbook.texi gnu: Add sbcl-stumpwm-ttf-fonts. 2020-03-30 23:20:54 +03:00
guix.texi services: guix: Add 'set-http-proxy' action. 2020-04-07 12:31:36 +02:00
htmlxref.cnf doc: Update htmlxref.cnf. 2020-01-12 00:19:10 +01:00
local.mk doc: Add German Cookbook translation. 2020-02-17 06:52:11 +00:00
package-hello.scm