aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-10-22 14:37:14 +0100
committerChristopher Baines <mail@cbaines.net>2020-10-23 15:40:09 +0100
commitced9da901f7e58fced9a822e8cdf44e394bc4d2f (patch)
tree0239c6733f0dcb10eb17d7abb6cf61eaf3a183de
parentb9f8ce17e4dbfb3f89bddcab0bc0396b4d790cb5 (diff)
downloadguix-ced9da901f7e58fced9a822e8cdf44e394bc4d2f.tar
guix-ced9da901f7e58fced9a822e8cdf44e394bc4d2f.tar.gz
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.
-rw-r--r--gnu/services/guix.scm3
1 files changed, 2 insertions, 1 deletions
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))))))