GNU bug report logs

#20255 'search-paths' should respect both user and system profile.

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #160 received at 20255@debbugs.gnu.org (full text, mbox, reply):

Received: (at 20255) by debbugs.gnu.org; 17 May 2023 14:04:40 +0000
From debbugs-submit-bounces@debbugs.gnu.org Wed May 17 10:04:40 2023
Received: from localhost ([127.0.0.1]:50531 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1pzHlg-0002AQ-7R
	for submit@debbugs.gnu.org; Wed, 17 May 2023 10:04:40 -0400
Received: from mail.envs.net ([5.199.136.28]:38274)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iyzsong@envs.net>) id 1pzHlX-00029Y-5a
 for 20255@debbugs.gnu.org; Wed, 17 May 2023 10:04:35 -0400
Received: from localhost (mail.envs.net [127.0.0.1])
 by mail.envs.net (Postfix) with ESMTP id A76B038A1439;
 Wed, 17 May 2023 14:04:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa;
 t=1684332270; bh=Xq8YF/5GiTr7ba2KySzDcjgj+FB/kAmPlI3SFSqUNCY=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=NbcKq0KZIA6LkCMNdYbDQaRPduJ3OHW5cRXgj1lQM0ZVQ4tU/PqFx8nkMBiPL5wNh
 dBFimA/pKr/H+URhPyQIiJd73p1spfCvAXw5an+qy7S0m4CLP3mseuy3NBkUaKQ28C
 p5M3gwJrm8IDl2VWATQWCrmSjXw4JoXnvRTT0rPtRTQBJErhTaAlxhndJr6cSQh8xn
 Co+tSD1+XLbZB3KARMOU7rwin6f9H9vO7s0P7xSQQRZOvuol6IqaDePItfsWLx9L+W
 mMCk+O4QQere08cKKNtJZPTtEfEL9kLc4xCXU6cXcz5EjA95nnNPz8MfRoHKQGHmCs
 mb+ZkopKoMC/FtbEURC83c/Sv2/wNc1/6yUKsy8Q1VlsRLaM87ytkdQMMLTDSX2f8f
 cZPHRfh5f5ECfZdjhAYMGU7DfcqaX9Aq/kl3JtVU0V59EmIsUb1h6ncxH1abS4qx7q
 jlYrVtVbmIpTFwjulXWcec7IVhb2nMHqNKp6B4QwsYbHxfLhskvSeskKw8QwRqbHGt
 ObO0CYRIdtJWJ5VYhiSwLpPghmtchzh9CDo3Bst1NAJcUmPeRFIkssuXm2OzXDDZTY
 BMOSjvDUzR9R8J7OCceO61REQE0hDwqZA0LoW2UZDviQkgkXwLAy1PFjCa5abCgsEL
 e1GFgWIuahWEjdO7IkrVHw8o=
X-Virus-Scanned: Debian amavisd-new at mail.envs.net
Received: from mail.envs.net ([127.0.0.1])
 by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id lKtFrF29MGST; Wed, 17 May 2023 14:04:26 +0000 (UTC)
Received: from localhost (unknown [36.170.57.133])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mail.envs.net (Postfix) with ESMTPSA;
 Wed, 17 May 2023 14:04:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id 7e673051;
 Wed, 17 May 2023 14:04:19 +0000 (UTC)
From: iyzsong@envs.net
To: 20255@debbugs.gnu.org
Subject: [PATCH 4/4] news: Add entry for '/etc/profile' changes.
Date: Wed, 17 May 2023 22:04:11 +0800
Message-Id: <e3e0c7198f23986140a339e2cfd4a6dd530d9ee6.1684331588.git.iyzsong@member.fsf.org>
X-Mailer: git-send-email 2.40.1
In-Reply-To: <10665650174637a1b70629b864509a0a68920154.1684331588.git.iyzsong@member.fsf.org>
References: <10665650174637a1b70629b864509a0a68920154.1684331588.git.iyzsong@member.fsf.org>
MIME-Version: 1.0
X-Debbugs-Cc: Florian Pelz <pelzflorian@pelzflorian.de>,
 Julien Lepiller <julien@lepiller.eu>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 20255
Cc: 宋文武 <iyzsong@member.fsf.org>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
From: 宋文武 <iyzsong@member.fsf.org>

* etc/news.scm: Add entry.
---
 etc/news.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/etc/news.scm b/etc/news.scm
index f5dc3ca0d5..2da92eeac3 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -26,6 +26,39 @@
 (channel-news
  (version 0)
 
+ (entry (commit "2e888b4d07c67ad74fbb4ec9afb812a236852027")
+        (title
+         (en "@file{/etc/profile} changes require manual intervention"))
+        (body
+         (en "On Guix System, now the personal shell startup file
+@file{~/.bash_profile} or @file{~/.zprofile} will be used to set up
+environment variables for the user instead of @file{/etc/profile}.  And
+search-paths from multiple profiles are honored, which means a system
+configured Xfce desktop environment can find its panel plugins in the user
+profile.
+
+Before run @command{guix system reconfigure}, append the snippet below to each
+user's @file{~/.bash_profile} or @file{~/.zprofile}:
+
+@example
+# Merge search-paths from multiple profiles, the order matters.
+eval \"$(guix package --search-paths \\
+-p $HOME/.config/guix/current \\
+-p $HOME/.guix-profile \\
+-p /run/current-system/profile)\"
+
+# Prepend setuid programs.
+export PATH=/run/setuid-programs:$PATH
+
+# Set up Guix Home profile
+if [ -d ~/.guix-home ]; then . ~/.profile; fi
+@end example
+
+Or you can override them with updated skeleton files after system reconfigure.
+In addition, Guix Home users need to upgrade via @command{guix home
+reconfigure}.  See @uref{https://issues.guix.gnu.org/20255} for the
+rationale.")))
+
  (entry (commit "ae11fcb84ac478dfa56d322ef08890645183a087")
         (title
          (en "New @option{--with-configure-flag} transformation option")
-- 
2.40.1





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 7 09:14:15 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.