summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-21 15:02:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-21 15:04:14 +0300
commite04b90607ac903359c90c9bad1b67fb7ce2f0eb6 (patch)
treed4a9d2bc1126ad1e67d15882bc244dfa329f3580
parent475e3768fc466f5cd826c2c7964072e10d9c9af1 (diff)
downloadguix-e04b90607ac903359c90c9bad1b67fb7ce2f0eb6.tar.gz
services: Docker: Fix typo in configuration.
This is a follow-up to f0a09310e6ff2ed63770cb585c551ba94ce4a9d0.

* gnu/services/docker.scm (docker-shepherd-service): Properly reference
variables in service definition.
-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 c7296d5b1b..2f13c270ab 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?
+                               '("--userland-proxy=true"
+                                 (string-append
+                                   "--userland-proxy-path=" #$proxy "/bin/proxy"))
+                               '("--userland-proxy=false"))
                            (if #$enable-iptables?
                                "--iptables"
                                "--iptables=false"))