From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6GpzJVgwAmNFcQEAbAwnHQ (envelope-from ) for ; Sun, 21 Aug 2022 15:17:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eLNjJVgwAmOvRQAA9RJhRA (envelope-from ) for ; Sun, 21 Aug 2022 15:17:12 +0200 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 57E562236A for ; Sun, 21 Aug 2022 15:17:12 +0200 (CEST) Received: from localhost ([::1]:50554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPkpD-0007iF-9i for larch@yhetil.org; Sun, 21 Aug 2022 09:17:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPkp4-0007fn-0M for guix-patches@gnu.org; Sun, 21 Aug 2022 09:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPkp3-0007Bv-Ns for guix-patches@gnu.org; Sun, 21 Aug 2022 09:17:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPkp3-0008V9-JB for guix-patches@gnu.org; Sun, 21 Aug 2022 09:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57317] [PATCH 1/2] build: profiles: Always set GUIX_EXTENSIONS_PATH. References: <20220821131222.12411-1-paren@disroot.org> In-Reply-To: <20220821131222.12411-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Aug 2022 13:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57317 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57317@debbugs.gnu.org Cc: "\(" Received: via spool by 57317-submit@debbugs.gnu.org id=B57317.166108779432633 (code B ref 57317); Sun, 21 Aug 2022 13:17:01 +0000 Received: (at 57317) by debbugs.gnu.org; 21 Aug 2022 13:16:34 +0000 Received: from localhost ([127.0.0.1]:34059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPkoc-0008UF-6U for submit@debbugs.gnu.org; Sun, 21 Aug 2022 09:16:34 -0400 Received: from knopi.disroot.org ([178.21.23.139]:43212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPkoa-0008U1-Bp for 57317@debbugs.gnu.org; Sun, 21 Aug 2022 09:16:32 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B6FCB4008C; Sun, 21 Aug 2022 15:16:31 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XnXvtrJs7NZz; Sun, 21 Aug 2022 15:16:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661087790; bh=+NjRLX65xVPThGb0VoZ/NPMGrxnnYc66NKF+U4FYuHU=; h=From:To:Cc:Subject:Date; b=TCm4qWbIrtqFrloP3ry+yYyG2eSPGpSbcmwSujYpUeqN4pCofh/kenGqLF2SzaYkU QQAw2oEuS51m9nQF0IBrhnixFexLa5IDqNKXpl1muErSfcclZ5y9CDcOXMZCSjxarH eFY0KXDDy8C1W82PalcluMn7uo9eklRyi+s3qllF2EfqbtX1Xnq+Imap1fTiAtxWei 0Vmkx1/QGNhf/Sr+Dg5QKauyQUEdmAXgnOyUBAYSGCd2qOzCAMK4U0JU+k93iaJpVT 0n7Mj/TpfEOxCeoNRqmeADP/t+3Q+3aQGPHlmEziAbj98TYt3PMiUv5fEnVMhTUvvS dXu/mKLDzoxdw== Date: Sun, 21 Aug 2022 14:16:27 +0100 Message-Id: <20220821131628.12592-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661087832; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BmOZrH38x8MASDZI9hBHL48IsysGGbEQDkPmQuAoU00=; b=LJd3/iUUWTxZSIAKNxz8TWxHRtGC+rJLHb0yzE7RwLChD5T2k50V4Ngdi3RXJg+1kGrp2K zCtGHDo75LMRVMWwYFWKj2rhmPTIn6JZHcrRnnWOHCwHqElnKowIjVhS/WbpLvgds/R5Ea YxqEVzdIcbk4+rnb6zxYcU2XGZSKrTkZeiKkb6YlPpNA/OS+CHtzjIo0T+AVvo+uDhAX8p JKaghEPFjvFN04u1b1hI4jemzPEHH5Lc2i7hvv8U7g9EvE0yU9D+qhzHlGDb8XTTXOtqHz ZNlMs0/CRSJMHWBBkeCLe8stZbL/hjw+AYkoiwDOn8rdZObmwGzYf5yZEWGnVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661087832; a=rsa-sha256; cv=none; b=JPPh0A7Yonz1/3KjvHqNmsi2q054/1om94jzY46MHvbFJ8v5cmLKMtv7pHsWTp+LKnqNiZ RzFdrM9MUufZT4gJ/hhjSjeyBlHgAO0BACBGWWOa3MOryNHU+z5nNHAN/YDDFIhM4Eaoza mAx6fHlt24stRt/P5ThfqNou0X1vrrhwj00kdFRYPCiSMNMpj/Sqi5qkhI/eVAs9KHWEeD 3xesT9Lr1nbABpGRxsYqwTz0rcLJGt00NPatmRgnLj25hexxD4xx2S9JJa8CtnuzVPF9lp USu19u3v2VDmVJHbGIqivXwTBWASHQVWWNOAzvWNKVY99vHBCLhR329e/Su1HQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=TCm4qWbI; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=TCm4qWbI; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 57E562236A X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 02cBNjW/r/Ww * guix/build/profiles.scm (build-etc/profile): Implicitly set GUIX_EXTENSIONS_PATH to ${GUIX_PROFILE}/share/guix/extensions. This allows Guix to find extensions without any need for users to set GUIX_EXTENSIONS_PATH manually. --- guix/build/profiles.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guix/build/profiles.scm b/guix/build/profiles.scm index 0c92f222b4..f8b2e72d9c 100644 --- a/guix/build/profiles.scm +++ b/guix/build/profiles.scm @@ -97,6 +97,10 @@ (define file # When GUIX_PROFILE is undefined, the various environment variables refer # to this specific profile generation. \n" port) + (format port "~a~%" (environment-variable-definition + "GUIX_EXTENSIONS_PATH" + (string-append output "/share/guix/extensions") + #:kind 'prefix)) (let ((variables (evaluate-search-paths search-paths (list output)))) (for-each (write-environment-variable-definition port) -- 2.37.2