aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-10-20 09:16:52 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-10-20 09:18:04 +0200
commit922a50993e4a33ad3758e2eae6176c3d528f26d3 (patch)
treebaa4769baa20a07bf9093bea0faeb8c769f1529d
parentbc4427172939a8303fe1a0b5d0d42f6c06ab0fe4 (diff)
downloadguix-922a50993e4a33ad3758e2eae6176c3d528f26d3.tar
guix-922a50993e4a33ad3758e2eae6176c3d528f26d3.tar.gz
services: guix: Fix coordinator agent.
* gnu/services/guix.scm (guix-build-coordinator-agent-activation): Define %user variable.
-rw-r--r--gnu/services/guix.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm
index a47c4bd941..bd7ebcd2aa 100644
--- a/gnu/services/guix.scm
+++ b/gnu/services/guix.scm
@@ -363,6 +363,8 @@
#~(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