me
/
guix
Archived
1
0
Fork 0

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).
master
Ludovic Courtès 2020-11-04 23:58:55 +01:00
parent 341f67991d
commit f7d0a63dda
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 2 deletions

View File

@ -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