guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/10: services: guix-build-coordinator: Include the system profile in P


From: guix-commits
Subject: 04/10: services: guix-build-coordinator: Include the system profile in PATH.
Date: Fri, 23 Oct 2020 10:41:38 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit ced9da901f7e58fced9a822e8cdf44e394bc4d2f
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Oct 22 14:37:14 2020 +0100

    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 1666733..ac2a031 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))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]