summary refs log tree commit diff
path: root/gnu/services/docker.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/services/docker.scm')
-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"))