aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-09-23 23:34:21 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-09-23 23:40:29 +0300
commitcd4bb173e041fa961b05fb101f214d506182db84 (patch)
tree0fc4e2afd0f22726b3ec39ba75408b680b34ed2e
parent9273f75dd65c17aa5bdcb38c51c7c2000a949d97 (diff)
downloadguix-cd4bb173e041fa961b05fb101f214d506182db84.tar
guix-cd4bb173e041fa961b05fb101f214d506182db84.tar.gz
services: docker: Fix configuration.
This is a follow-up to e04b90607ac903359c90c9bad1b67fb7ce2f0eb6. * gnu/services/docker.scm (docker-shepherd-service): Fix "enable-proxy?" configuration.
-rw-r--r--gnu/services/docker.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index 2f13c270ab..e23014213b 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -122,11 +122,11 @@ loop-back communications.")
#$@(if debug?
'("--debug" "--log-level=debug")
'())
- (if #$enable-proxy?
- '("--userland-proxy=true"
- (string-append
- "--userland-proxy-path=" #$proxy "/bin/proxy"))
- '("--userland-proxy=false"))
+ #$@(if enable-proxy?
+ (list "--userland-proxy=true"
+ #~(string-append
+ "--userland-proxy-path=" #$proxy "/bin/proxy"))
+ '("--userland-proxy=false"))
(if #$enable-iptables?
"--iptables"
"--iptables=false"))