diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-11-04 23:58:55 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-05 00:07:45 +0100 |
commit | f7d0a63ddabe864e26bbff8e633371e6ae856845 (patch) | |
tree | 000c0a25715b3dcd9f297792f5e70480e96be759 /gnu/services/base.scm | |
parent | 341f67991da4380485676987e24a3fac01403835 (diff) | |
download | guix-f7d0a63ddabe864e26bbff8e633371e6ae856845.tar.gz |
services: guix: Do not embed the host (guix config).
Fixes a bug whereby different users would get different derivations for the same service. * gnu/services/base.scm (guix-shepherd-service): In 'start' method, do not embed (guix config).
Diffstat (limited to 'gnu/services/base.scm')
-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 f1298c3776..499e50bfd7 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1570,8 +1570,10 @@ proxy of 'guix-daemon'...~%") (ice-9 match) (gnu build shepherd))) (start - (with-imported-modules (source-module-closure - '((gnu build shepherd))) + (with-imported-modules `(((guix config) => ,(make-config.scm)) + ,@(source-module-closure + '((gnu build shepherd)) + #:select? not-config?)) #~(lambda args (define proxy ;; HTTP/HTTPS proxy. The 'http_proxy' variable is set by |