From: Christopher Baines <mail@cbaines.net>
To: 44143@debbugs.gnu.org
Subject: [bug#44143] [PATCH 4/5] services: guix-build-coordinator: Include the system profile in PATH.
Date: Thu, 22 Oct 2020 17:26:00 +0100 [thread overview]
Message-ID: <20201022162601.3757-4-mail@cbaines.net> (raw)
In-Reply-To: <20201022162601.3757-1-mail@cbaines.net>
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))))))
--
2.28.0
next prev parent reply other threads:[~2020-10-22 16:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 16:16 [bug#44143] [PATCH 0/5] Guix Build Coordinator service fixes Christopher Baines
2020-10-22 16:25 ` [bug#44143] [PATCH 1/5] services: guix: Fix hooks gexp issue for the Guix Build Coordinator Christopher Baines
2020-10-22 16:25 ` [bug#44143] [PATCH 2/5] gnu: guix-build-coordinator: Ensure gnutls is available Christopher Baines
2020-10-22 16:25 ` [bug#44143] [PATCH 3/5] services: guix-build-coordinator: Output the start script name Christopher Baines
2020-10-22 16:26 ` Christopher Baines [this message]
2020-10-22 16:26 ` [bug#44143] [PATCH 5/5] services: guix-build-coordinator: Configure output buffering Christopher Baines
2020-10-23 11:54 ` [bug#44143] [PATCH 0/5] Guix Build Coordinator service fixes Mathieu Othacehe
2020-10-23 15:31 ` bug#44143: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201022162601.3757-4-mail@cbaines.net \
--to=mail@cbaines.net \
--cc=44143@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.