From patchwork Thu Oct 22 16:26:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 24741 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8DB0527BBF0; Thu, 22 Oct 2020 17:29:04 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 477E227BBEE for ; Thu, 22 Oct 2020 17:29:04 +0100 (BST) Received: from localhost ([::1]:53696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVdSZ-0002qm-GH for patchwork@mira.cbaines.net; Thu, 22 Oct 2020 12:29:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVdQd-0001qR-QM for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVdQb-0004uj-MX for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVdQb-0000PA-IP for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44143] [PATCH 4/5] services: guix-build-coordinator: Include the system profile in PATH. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Oct 2020 16:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44143 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44143@debbugs.gnu.org Received: via spool by 44143-submit@debbugs.gnu.org id=B44143.16033839651449 (code B ref 44143); Thu, 22 Oct 2020 16:27:01 +0000 Received: (at 44143) by debbugs.gnu.org; 22 Oct 2020 16:26:05 +0000 Received: from localhost ([127.0.0.1]:53659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPh-0000NI-BM for submit@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:05 -0400 Received: from mira.cbaines.net ([212.71.252.8]:47590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPg-0000Mm-6L for 44143@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:04 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 9761127BBF2 for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 17:26:03 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 2839c4c7 for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 16:26:01 +0000 (UTC) From: Christopher Baines Date: Thu, 22 Oct 2020 17:26:00 +0100 Message-Id: <20201022162601.3757-4-mail@cbaines.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201022162601.3757-1-mail@cbaines.net> References: <87eelqgrso.fsf@cbaines.net> <20201022162601.3757-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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))))))