From unknown Sat Jun 21 10:44:45 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48624] [PATCH] guix-install.sh: No longer export GUIX_PROFILE. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 May 2021 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48624 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48624@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162187063325625 (code B ref -1); Mon, 24 May 2021 15:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 May 2021 15:37:13 +0000 Received: from localhost ([127.0.0.1]:43692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llCdl-0006fF-DF for submit@debbugs.gnu.org; Mon, 24 May 2021 11:37:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:56650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llCdj-0006f7-S5 for submit@debbugs.gnu.org; Mon, 24 May 2021 11:37:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llCdj-0000DW-LD for guix-patches@gnu.org; Mon, 24 May 2021 11:37:11 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:34568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llCdh-0005LZ-J5 for guix-patches@gnu.org; Mon, 24 May 2021 11:37:11 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4FphCj45ssz1s2CR for ; Mon, 24 May 2021 17:37:05 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4FphCj3JWJz1qsZl for ; Mon, 24 May 2021 17:37:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id zTdIjroF-vAj for ; Mon, 24 May 2021 17:37:04 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-48-68.dynamic.mnet-online.de [188.174.48.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 24 May 2021 17:37:04 +0200 (CEST) Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id AEA776017A; Mon, 24 May 2021 17:42:14 +0200 (CEST) From: Hartmut Goebel Date: Mon, 24 May 2021 17:37:02 +0200 Message-Id: <6251b4d6fd935c6546273edfbf68fdf0b07860a2.1621870588.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) If GUIX_PROFILE is exported here, any subsequent "source /some/other/profile/etc/profile" will set variables pointing to "$HOME/.guix-profile" instead of pointing to the sourced profile. * etc/guix-install.sh (sys_create_init_profile): No longer export GUIX_PROFILE. --- etc/guix-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 6a799fa823..8ecadea97d 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -499,7 +499,7 @@ export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH" GUIX_PROFILE="$HOME/.guix-profile" [ -L $GUIX_PROFILE ] || return GUIX_LOCPATH="$GUIX_PROFILE/lib/locale" -export GUIX_PROFILE GUIX_LOCPATH +export GUIX_LOCPATH [ -f "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile" -- 2.21.4 From unknown Sat Jun 21 10:44:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#48624: closed (Re: bug#48624: Acknowledgement ([PATCH] guix-install.sh: No longer export GUIX_PROFILE.)) Message-ID: References: <96e1897b-8b4f-13a4-d231-33ac20ba789e@crazy-compilers.com> <6251b4d6fd935c6546273edfbf68fdf0b07860a2.1621870588.git.h.goebel@crazy-compilers.com> X-Gnu-PR-Message: they-closed 48624 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48624@debbugs.gnu.org Date: Wed, 07 Jul 2021 19:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1625686322-9000-1" This is a multi-part message in MIME format... ------------=_1625686322-9000-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48624: [PATCH] guix-install.sh: No longer export GUIX_PROFILE. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48624@debbugs.gnu.org. --=20 48624: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48624 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1625686322-9000-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48624-close) by debbugs.gnu.org; 7 Jul 2021 19:31:04 +0000 Received: from localhost ([127.0.0.1]:53556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1DGC-0002Jt-30 for submit@debbugs.gnu.org; Wed, 07 Jul 2021 15:31:04 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:54752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1DG8-0002JJ-SL for 48624-close@debbugs.gnu.org; Wed, 07 Jul 2021 15:31:02 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4GKqKH433dz1qtPt for <48624-close@debbugs.gnu.org>; Wed, 7 Jul 2021 21:30:59 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GKqKH2Yknz1qwYm for <48624-close@debbugs.gnu.org>; Wed, 7 Jul 2021 21:30:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id MbJZVtHcCcdW for <48624-close@debbugs.gnu.org>; Wed, 7 Jul 2021 21:30:58 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-62-244.dynamic.mnet-online.de [188.174.62.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <48624-close@debbugs.gnu.org>; Wed, 7 Jul 2021 21:30:58 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id F0DB06016F for <48624-close@debbugs.gnu.org>; Wed, 7 Jul 2021 21:31:11 +0200 (CEST) Subject: Re: bug#48624: Acknowledgement ([PATCH] guix-install.sh: No longer export GUIX_PROFILE.) To: 48624-close@debbugs.gnu.org References: <6251b4d6fd935c6546273edfbf68fdf0b07860a2.1621870588.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <96e1897b-8b4f-13a4-d231-33ac20ba789e@crazy-compilers.com> Date: Wed, 7 Jul 2021 21:30:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: de-DE X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48624-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Commited as 7f06567b83a6d994703adbdda99b266dc83d2d84 ------------=_1625686322-9000-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 May 2021 15:37:13 +0000 Received: from localhost ([127.0.0.1]:43692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llCdl-0006fF-DF for submit@debbugs.gnu.org; Mon, 24 May 2021 11:37:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:56650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llCdj-0006f7-S5 for submit@debbugs.gnu.org; Mon, 24 May 2021 11:37:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llCdj-0000DW-LD for guix-patches@gnu.org; Mon, 24 May 2021 11:37:11 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:34568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llCdh-0005LZ-J5 for guix-patches@gnu.org; Mon, 24 May 2021 11:37:11 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4FphCj45ssz1s2CR for ; Mon, 24 May 2021 17:37:05 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4FphCj3JWJz1qsZl for ; Mon, 24 May 2021 17:37:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id zTdIjroF-vAj for ; Mon, 24 May 2021 17:37:04 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-48-68.dynamic.mnet-online.de [188.174.48.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 24 May 2021 17:37:04 +0200 (CEST) Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id AEA776017A; Mon, 24 May 2021 17:42:14 +0200 (CEST) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH] guix-install.sh: No longer export GUIX_PROFILE. Date: Mon, 24 May 2021 17:37:02 +0200 Message-Id: <6251b4d6fd935c6546273edfbf68fdf0b07860a2.1621870588.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) If GUIX_PROFILE is exported here, any subsequent "source /some/other/profile/etc/profile" will set variables pointing to "$HOME/.guix-profile" instead of pointing to the sourced profile. * etc/guix-install.sh (sys_create_init_profile): No longer export GUIX_PROFILE. --- etc/guix-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 6a799fa823..8ecadea97d 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -499,7 +499,7 @@ export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH" GUIX_PROFILE="$HOME/.guix-profile" [ -L $GUIX_PROFILE ] || return GUIX_LOCPATH="$GUIX_PROFILE/lib/locale" -export GUIX_PROFILE GUIX_LOCPATH +export GUIX_LOCPATH [ -f "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile" -- 2.21.4 ------------=_1625686322-9000-1--