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 #154 received at 20255@debbugs.gnu.org (full text, mbox, reply):

Received: (at 20255) by debbugs.gnu.org; 17 May 2023 14:04:31 +0000
From debbugs-submit-bounces@debbugs.gnu.org Wed May 17 10:04:31 2023
Received: from localhost ([127.0.0.1]:50522 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1pzHlW-00029X-PL
	for submit@debbugs.gnu.org; Wed, 17 May 2023 10:04:31 -0400
Received: from mail.envs.net ([5.199.136.28]:38266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iyzsong@envs.net>) id 1pzHlS-00029F-MN
 for 20255@debbugs.gnu.org; Wed, 17 May 2023 10:04:28 -0400
Received: from localhost (mail.envs.net [127.0.0.1])
 by mail.envs.net (Postfix) with ESMTP id 2DC8638A1439;
 Wed, 17 May 2023 14:04:26 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa;
 t=1684332266; bh=fXzUDy4nn4XdKVH499mSkR5xnOdrJd0XoMTmJ0KtnWA=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=nvL+K3p3xryqJGhkPw2swlEQpRt34bvnC6pavTw07dBKFjDqkgDr3Dg8iCRkJyeYJ
 2omxP5z/ueJ+CkSEsb53ODO8jElDNj450rK1wNT0xs8dBZset32L5FLlwN5jkYZBNe
 JjaItTiIq1f0J7LtAcqxN6+Yq38ZIgVVs1icocS3Uww+XtkxwSV/90Hbp3kbEwxKmd
 N21/U6wSTEzefihpcpomtFL0BoLhCD3VgsC91VVKpTMVzHHnECOVxED+lENbtnLCph
 qnoVQFEtZj9QBtDho2CJiawquDwTMqMOTMAQv2PK+6Izejor1VHTtRqdTVU+PXudTB
 5eBfBR540tTEzGtulo9KzNRWOevEjqHGNR+aG2wlFW+a1tWQdr1v4c81tVsvZr8/9f
 k+1eNWVKWBOdgmlpT66jg3qYcHQDwWHoRGHCOoBCKwkX/GoA2HXh1VJPxwcN+sa1qO
 xfVnVmowNEyfZP2NOMfJPX00h8S37gu5sgDbZ0Xp9HN14/LIQKDxH1fcsRMY87WGMJ
 n/3gz9dcPW06ZOyrfoLzs7/ctDhsfcxxbPgPzAej4ejJlAZf1rYggfdyyV//iQjXp4
 0PnaZdkfgJHgYDSHuC5Nmkwd8jbtStlXTkQ5nKv0LOVF0a67HroA0W+178QerJYblk
 8nXrdXylA0z2kkuvYwrSSSug=
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 ckkuy8kskZKi; Wed, 17 May 2023 14:04:23 +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:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id 07513384;
 Wed, 17 May 2023 14:04:18 +0000 (UTC)
From: iyzsong@envs.net
To: 20255@debbugs.gnu.org
Subject: [PATCH 2/4] system: default-skeletons: Set up Guix home profile when
 it exists.
Date: Wed, 17 May 2023 22:04:09 +0800
Message-Id: <aebd484298147829c9f19c0a57835bf434a237ec.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
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>

This is a followup to 40310efde9b4a4f2cf98081d6cd10f843685ebb6.

* gnu/system/shadow.scm (default-skeletons)[bash_profile, zprofile]:
Source '~/.profile' when '~/.guix-home' exists.
---
 gnu/system/shadow.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 4a8cc87f0f..afb47fc42d 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -151,9 +151,6 @@ (define (default-skeletons)
 'useradd' in the home directory of newly created user accounts."
 
   (let ((profile (plain-file "bash_profile" "\
-# Set up Guix Home profile
-if [ -f ~/.profile ]; then . ~/.profile; fi
-
 # Honor per-interactive-shell startup file
 if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
 
@@ -165,6 +162,9 @@ (define (default-skeletons)
 
 # Prepend setuid programs.
 export PATH=/run/setuid-programs:$PATH
+
+# Set up Guix Home profile
+if [ -d ~/.guix-home ]; then . ~/.profile; fi
 "))
         (bashrc  %default-bashrc)
         (zprofile    (plain-file "zprofile" "\
@@ -179,6 +179,9 @@ (define (default-skeletons)
 
 # Prepend setuid programs.
 export PATH=/run/setuid-programs:$PATH
+
+# Set up Guix Home profile
+if [ -d ~/.guix-home ]; then . ~/.profile; fi
 "))
         (xdefaults (plain-file "Xdefaults" "\
 XTerm*utf8: always
-- 
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 12:34:04 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.