From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KT1pFFWzkV8qeQAA0tVLHw (envelope-from ) for ; Thu, 22 Oct 2020 16:29:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qKdHDlWzkV/IPQAAB5/wlQ (envelope-from ) for ; Thu, 22 Oct 2020 16:29:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E32C6940149 for ; Thu, 22 Oct 2020 16:29:08 +0000 (UTC) Received: from localhost ([::1]:53696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVdSc-0002qm-3R for larch@yhetil.org; Thu, 22 Oct 2020 12:29:07 -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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: qflES4H9Hzhu 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