services: guix: Fix coordinator agent.

* gnu/services/guix.scm (guix-build-coordinator-agent-activation): Define
%user variable.
This commit is contained in:
Mathieu Othacehe 2020-10-20 09:16:52 +02:00
parent bc44271729
commit 922a50993e
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -363,6 +363,8 @@ (define (guix-build-coordinator-agent-activation config)
#~(begin
(use-modules (guix build utils))
(define %user (getpw "guix-build-coordinator-agent"))
(mkdir-p "/var/log/guix-build-coordinator")
;; Allow writing the PID file