mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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).
This commit is contained in:
parent
341f67991d
commit
f7d0a63dda
1 changed files with 4 additions and 2 deletions
|
@ -1570,8 +1570,10 @@ (define (guix-shepherd-service config)
|
||||||
(ice-9 match)
|
(ice-9 match)
|
||||||
(gnu build shepherd)))
|
(gnu build shepherd)))
|
||||||
(start
|
(start
|
||||||
(with-imported-modules (source-module-closure
|
(with-imported-modules `(((guix config) => ,(make-config.scm))
|
||||||
'((gnu build shepherd)))
|
,@(source-module-closure
|
||||||
|
'((gnu build shepherd))
|
||||||
|
#:select? not-config?))
|
||||||
#~(lambda args
|
#~(lambda args
|
||||||
(define proxy
|
(define proxy
|
||||||
;; HTTP/HTTPS proxy. The 'http_proxy' variable is set by
|
;; HTTP/HTTPS proxy. The 'http_proxy' variable is set by
|
||||||
|
|
Loading…
Reference in a new issue