From ced9da901f7e58fced9a822e8cdf44e394bc4d2f Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 22 Oct 2020 14:37:14 +0100 Subject: services: guix-build-coordinator: Include the system profile in PATH. As this allows hooks to use the system profile, if that's desired. * gnu/services/guix.scm (guix-build-coordinator-shepherd-services): Set PATH to include the system profile. --- gnu/services/guix.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index 1666733e9c..ac2a03147c 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -267,7 +267,8 @@ #:environment-variables `(,(string-append "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") - "LC_ALL=en_US.utf8") + "LC_ALL=en_US.utf8" + "PATH=/run/current-system/profile/bin") ; for hooks #:log-file "/var/log/guix-build-coordinator/coordinator.log")) (stop #~(make-kill-destructor)))))) -- cgit v1.2.3