guix/gnu
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
..
bootloader system: Allow for comma-separated keyboard layouts. 2020-04-06 00:14:13 +02:00
build
installer installer: Reduce height of the help window. 2020-04-07 12:31:36 +02:00
machine
packages gnu: thinkfan: Update to 1.1. 2020-04-07 11:24:01 +02:00
services services: guix: Add 'set-http-proxy' action. 2020-04-07 12:31:36 +02:00
system system: Allow for comma-separated keyboard layouts. 2020-04-06 00:14:13 +02:00
tests services: guix: Add 'set-http-proxy' action. 2020-04-07 12:31:36 +02:00
artwork.scm
bootloader.scm
ci.scm ci: Remove "mips64el-linux-gnuabi64" from '%cross-targets'. 2020-04-07 12:31:36 +02:00
installer.scm installer: Hide shepherd messages. 2020-04-06 15:06:03 +02:00
local.mk installer: Add a help page. 2020-04-06 15:06:03 +02:00
machine.scm
packages.scm
services.scm services: Allow modprobe to use "/etc/modprobe.d". 2020-04-05 12:12:07 +02:00
system.scm system: Don’t create a module database when no modules are available. 2020-04-04 21:13:26 +02:00
tests.scm