diff options
-rw-r--r-- | gnu/services/base.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 5cf6083821..85160bd3ab 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1877,7 +1877,8 @@ proxy of 'guix-daemon' to ~s...~%" (format #t "clearing HTTP/HTTPS \ proxy of 'guix-daemon'...~%") (unsetenv "http_proxy"))) - (action 'guix-daemon 'restart) + (perform-service-action (lookup-service 'guix-daemon) + 'restart) (environ environment) #t))))) @@ -1898,7 +1899,8 @@ proxy of 'guix-daemon'...~%") (begin (format #t "disable substitute servers discovery~%") (unsetenv "discover"))) - (action 'guix-daemon 'restart) + (perform-service-action (lookup-service 'guix-daemon) + 'restart) (environ environment) #t))))) |