services: guix: Fix coordinator agent.
authorMathieu Othacehe <othacehe@gnu.org>
Tue, 20 Oct 2020 07:16:52 +0000 (09:16 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Tue, 20 Oct 2020 07:18:04 +0000 (09:18 +0200)
* gnu/services/guix.scm (guix-build-coordinator-agent-activation): Define
%user variable.

gnu/services/guix.scm

index a47c4bd..bd7ebcd 100644 (file)
   #~(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