From cd4bb173e041fa961b05fb101f214d506182db84 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Wed, 23 Sep 2020 23:34:21 +0300 Subject: services: docker: Fix configuration. This is a follow-up to e04b90607ac903359c90c9bad1b67fb7ce2f0eb6. * gnu/services/docker.scm (docker-shepherd-service): Fix "enable-proxy?" configuration. --- gnu/services/docker.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu') 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 @@ (define (docker-shepherd-service config) #$@(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")) -- cgit v1.2.3