From patchwork Tue Apr 1 15:02:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 2881 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5BE5F27BBF1; Tue, 1 Apr 2025 16:04:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI, PDS_OTHER_BAD_TLD,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D82FC27BBEA for ; Tue, 1 Apr 2025 16:04:45 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzd9q-00085e-Ji; Tue, 01 Apr 2025 11:04:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tzd9n-00084K-TJ for guix-patches@gnu.org; Tue, 01 Apr 2025 11:04:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzd9m-00033z-Uu; Tue, 01 Apr 2025 11:04:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=xFyCrjlGmu7ZqtfsPqmXRv9zOybkShfI6O8MCgXlDMk=; b=Wa3P/2jVK9KoQfPUe8bLYWfwMLm4PWo4VHwESDroypyIk+03P16svpWwg1tag0rXnpBQezGsf+XzyxdP+Sg+3htrzrcmV8N3D7ysUqcTT1d6tIAaWLqtUINfAjet25eSK05CpbdEKzx/jqYPMQYAM06qpI8nkOTgVphmA7RB+f36iuiIwxzg/px195N3+zUknowWFfuA6AL7O7KbH11qulDbElmogL6cFaR5xM50eFsREObDNIHeqEtrw3a+SB0tP46NH6JFqkEIa2CJwyh4eJTas4c+bIk+rZlhd7qUgutITKldnGZ5nJC3xR1vRJ3i3Y1VmU1GpNr6U5WSb8CYmg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzd9m-0004Bf-A4; Tue, 01 Apr 2025 11:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77035] [PATCH v3 0/5] system: Rearrange /etc/profile. References: In-Reply-To: Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: hako@ultrarare.space, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Tue, 01 Apr 2025 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77035 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77035@debbugs.gnu.org Cc: Hilton Chain , Hilton Chain , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Hilton Chain , Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 77035-submit@debbugs.gnu.org id=B77035.174351983015994 (code B ref 77035); Tue, 01 Apr 2025 15:04:02 +0000 Received: (at 77035) by debbugs.gnu.org; 1 Apr 2025 15:03:50 +0000 Received: from localhost ([127.0.0.1]:50011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzd9Z-00049s-P3 for submit@debbugs.gnu.org; Tue, 01 Apr 2025 11:03:50 -0400 Received: from mx.boiledscript.com ([88.99.243.112]:58938) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzd9V-000499-VK for 77035@debbugs.gnu.org; Tue, 01 Apr 2025 11:03:46 -0400 From: Hilton Chain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=mail; t=1743519822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xFyCrjlGmu7ZqtfsPqmXRv9zOybkShfI6O8MCgXlDMk=; b=gb8pFESIivV4s+KPDBXhlhAyKf0i3G6Yolu2eEzgMjZXDI7wScd+2ESYRcr3BTy/4ZF4q3 bgcHOUSPXhwEogsiyGNC56XHRKiP8zn5gt0ok/pqUStnM79JR3E1APbaftxcb0AC8YbR7Z lqpGu/0vA8e7DMReItCs8cMGVUBLDbA4MAoMWin4P05ap/dRhrgNOKPVXOsfC4AQPpccJb fKHajlGbBQJ9vOZ2SIe2mB7ol2sJyzoIz1B2I87VZ2FOriEFP/QsCIELS5yzKmeyM59OQp fnPmFmB/iH1h7OGyPJipJ8Pzqc1mWXGRH4mCt2ByueRSHaCDzKKgeUDSszA8Gw== Date: Tue, 1 Apr 2025 23:02:43 +0800 Message-ID: MIME-Version: 1.0 X-MS-Reactions: disallow 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches V2 -> V3: * Rearrange changes. * Avoid invoking ‘guix’ from profile. Hilton Chain (5): system: /etc/profile: Set up all default profiles in one iteration. system: Rearrange /etc/profile. system: /etc/profile: Set up extra environment variables for Guix Home. system & home: profile: Address issues reported by ‘shellcheck’. guix-install.sh: Set up all default profiles in one iteration. etc/guix-install.sh | 71 ++++++++++---------- gnu/home/services.scm | 22 +++++-- gnu/home/services/shells.scm | 10 ++- gnu/system.scm | 123 ++++++++++++++++++++++------------- gnu/system/shadow.scm | 10 --- 5 files changed, 137 insertions(+), 99 deletions(-) base-commit: 295f6417025638dfcd94b5c19bfbff3c5a85e5e4 --- 2.49.0