From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 30 03:39:48 2021 Received: (at submit) by debbugs.gnu.org; 30 Dec 2021 08:39:48 +0000 Received: from localhost ([127.0.0.1]:51360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qyN-0006r0-6E for submit@debbugs.gnu.org; Thu, 30 Dec 2021 03:39:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:35518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qyL-0006qq-D8 for submit@debbugs.gnu.org; Thu, 30 Dec 2021 03:39:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qyJ-0000nd-3i for guix-patches@gnu.org; Thu, 30 Dec 2021 03:39:41 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:60635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qyH-000103-61 for guix-patches@gnu.org; Thu, 30 Dec 2021 03:39:38 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B1D9F5C0222; Thu, 30 Dec 2021 03:39:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 30 Dec 2021 03:39:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=NAGpWcwLpO5CHz6QShPB1y3DBG90c9ZhmfQ+6bFh/3o=; b=WH6aTcga OA/uvShl10/sFUqfH2eJ228VrlmUwuqb3WccZ7EYmt7kYHsNxImG9gNGElVakUmw OJrhzkKA8NLagomRp9olQxQUdijrfZerR49w3mDD6qz35tnbfT9YsyrdpELq8noM 6j8Txflli2LLPKgXprU3rr02yD62i8FL/C1PxHg9NQ4sg+mMkHQkhMMWJh6lbWVg 4M7MMz76YS/L/fR1yiKVKW0rewyPW/f8oi27RyhNQSTs6tuzSJh60HvGuTxvTJY2 KxSlahyKSisZGMkt1cprKO2u4JGcHpQYiATfNviBkRzrObm5iwt59sM38csVTnc5 VUiCD6ugVJMtfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=NAGpWcwLpO5CHz6QShPB1y3DBG90c 9ZhmfQ+6bFh/3o=; b=ktE763NQwN2hLqJedfye5EVzvi9LE3KUb1+SiT4yuPX3c oa/AiWHB9IfSdtSkxsR0tatYFukWij4g0++06Wu3KeEEboAFuuPs5ka32OhSxQCV RHqf8prly6vrxFjYHgvORZk0jeKgJ+v2n8wGHXq1qWBlhzurEPsNPLh65QCoRmCj 9fWgTQnI9ALI0x0r8n+dwKJUHdKUnsop2UW5HWCxA2rBh/hRHcWKF8L7ZEbYG1mP +zqrZKFUHSqD012QMqor3a64zEuuBF+5j1UNxNpkoNoe575PO5hJLocJNHvkai3o u1G6KAAsoKaC2uayfKzKttJ4HPgNmjT0toaBYvlOw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvvddguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhs vghnsehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepveefveeutdeitd ettefggeehvdduieelkefgheekheduteevheegueetueevjeehnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhnshgvnh esfhgrshhtmhgrihhlrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Dec 2021 03:39:33 -0500 (EST) From: Konrad Hinsen To: guix-patches@gnu.org Subject: [PATCH] guix-install.sh: Run guix.sh script in /etc/profile.d last. Date: Thu, 30 Dec 2021 09:39:31 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=konrad.hinsen@fastmail.net; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.4 (/) 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: -2.7 (--) * etc/guix-install.sh: Rename /etc/profile.d/guix.sh to zzz-guix.sh. This script refers to environment variables set by the host distribution. They may be set in other scripts in /etc/profile.d, which must therefore be run first. Example: in Ubuntu 20.04, XDG_DATA_DIRS is set in /etc/profile.d/xdg_dirs_desktop_session.sh --- 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 cd1a1c34c1..00a9fc5377 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -503,7 +503,7 @@ sys_create_init_profile() { # Define for better desktop integration # This will not take effect until the next shell or desktop session! [ -d "/etc/profile.d" ] || mkdir /etc/profile.d # Just in case - cat <<"EOF" > /etc/profile.d/guix.sh + cat <<"EOF" > /etc/profile.d/zzz-guix.sh # _GUIX_PROFILE: `guix pull` profile _GUIX_PROFILE="$HOME/.config/guix/current" export PATH="$_GUIX_PROFILE/bin${PATH:+:}$PATH" -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 14 03:27:31 2022 Received: (at 52891) by debbugs.gnu.org; 14 Jan 2022 08:27:31 +0000 Received: from localhost ([127.0.0.1]:35462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Hvm-0006vw-UT for submit@debbugs.gnu.org; Fri, 14 Jan 2022 03:27:31 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:53510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Hvh-0006ve-Sv for 52891@debbugs.gnu.org; Fri, 14 Jan 2022 03:27:29 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 43AB53D2; Fri, 14 Jan 2022 09:27:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oHZTbBtbgy02; Fri, 14 Jan 2022 09:27:18 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3104B23C; Fri, 14 Jan 2022 09:27:18 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Konrad Hinsen Subject: Re: bug#52891: [PATCH] guix-install.sh: Run guix.sh script in /etc/profile.d last. References: Date: Fri, 14 Jan 2022 09:27:17 +0100 In-Reply-To: (Konrad Hinsen's message of "Thu, 30 Dec 2021 09:39:31 +0100") Message-ID: <875yqm67tm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 43AB53D2 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[fastmail.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[fastmail.net]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 52891 Cc: 52891@debbugs.gnu.org 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: -0.0 (/) Hi Konrad, Konrad Hinsen skribis: > * etc/guix-install.sh: Rename /etc/profile.d/guix.sh to zzz-guix.sh. > > This script refers to environment variables set by the host distribution. > They may be set in other scripts in /etc/profile.d, which must therefore > be run first. > Example: in Ubuntu 20.04, XDG_DATA_DIRS is set in > /etc/profile.d/xdg_dirs_desktop_session.sh [...] > - cat <<"EOF" > /etc/profile.d/guix.sh > + cat <<"EOF" > /etc/profile.d/zzz-guix.sh Does anybody have objections, such as distros where this would not work? Otherwise let=E2=80=99s apply it in time for the upcoming release. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 14 03:27:44 2022 Received: (at control) by debbugs.gnu.org; 14 Jan 2022 08:27:44 +0000 Received: from localhost ([127.0.0.1]:35465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Hw0-0006wX-57 for submit@debbugs.gnu.org; Fri, 14 Jan 2022 03:27:44 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:53530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Hvy-0006wE-DF for control@debbugs.gnu.org; Fri, 14 Jan 2022 03:27:42 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 073982BF for ; Fri, 14 Jan 2022 09:27:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y_N7mn9gbCrV for ; Fri, 14 Jan 2022 09:27:36 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9A75E23C for ; Fri, 14 Jan 2022 09:27:36 +0100 (CET) Date: Fri, 14 Jan 2022 09:27:36 +0100 Message-Id: <874k6667t3.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #53214 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 073982BF X-Spamd-Result: default: False [0.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[control@debbugs.gnu.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.71)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control 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: -0.0 (/) block 53214 by 52891 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 04:59:05 2022 Received: (at 52891-done) by debbugs.gnu.org; 8 Nov 2022 09:59:06 +0000 Received: from localhost ([127.0.0.1]:36345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osLNp-0002yf-Jp for submit@debbugs.gnu.org; Tue, 08 Nov 2022 04:59:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osLNn-0002yB-RA for 52891-done@debbugs.gnu.org; Tue, 08 Nov 2022 04:59:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osLNi-0004ei-5G; Tue, 08 Nov 2022 04:58:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=lgfERFOo1hG9zq7GrrFpdPJoftlQeevTv7dwEMktXO4=; b=C7MesnNDTV7oIBEVwQzI RPfVJ9p47J+iFg18VX+rfs4wsVgsw/X+E6RPkN/YPoQ2OHardZXZ3m3E8n64yQWpgl1RaHz82qfpN hEsD1US71KrT48HzYAHN25FtPlaU1LgkyYKazAC1eCTIyMQEzspHOLlT9ncurPWNDHNf8qIL/B98r N3mDwfTGd+959DTKvf87Vzkj9LFY0O9TlK4nkAMDtKlFBpowJamkVeLUf3nWr6umLzsEi9ZCiz13S lbieP+uRaQ8WcHXStaEJhTTJhPmMjLJIdWgdx/SDwvXEs6rxySDsz/W1yjNwoUO411Vdyfc/KDRas tYUoPSx9mMppyQ==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775] helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osLNh-0000Ry-Ll; Tue, 08 Nov 2022 04:58:57 -0500 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#52891: [PATCH] guix-install.sh: Run guix.sh script in /etc/profile.d last. References: <875yqm67tm.fsf@gnu.org> Date: Tue, 08 Nov 2022 10:58:54 +0100 In-Reply-To: <875yqm67tm.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 14 Jan 2022 09:27:17 +0100") Message-ID: <87leol7oo1.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52891-done Cc: Konrad Hinsen , 52891-done@debbugs.gnu.org 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 (---) Hello, > Does anybody have objections, such as distros where this would not work? > > Otherwise let=E2=80=99s apply it in time for the upcoming release. Tested on Ubuntu, seems to work fine. It appears to be the right thing to do to make sure that Guix stuff is prepended to XDG_*, PATH and INFOPATH variables. Applied as 93be56a3ab28ed0a482f354b7f536681c99b6999. Thanks, Mathieu From unknown Sat Jun 14 03:54:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Dec 2022 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator