Message ID | cover.1743438266.git.hako@ultrarare.space |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AC42C27BBEA; Mon, 31 Mar 2025 17:27:43 +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=-5.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_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 72CF027BBE2 for <patchwork@mira.cbaines.net>; Mon, 31 Mar 2025 17:27:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tzHyd-0004Vc-3w; Mon, 31 Mar 2025 12:27:07 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tzHyZ-0004UW-Qu for guix-patches@gnu.org; Mon, 31 Mar 2025 12:27: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 <Debian-debbugs@debbugs.gnu.org>) id 1tzHyY-0001Ed-MI; Mon, 31 Mar 2025 12:27: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=cKozGfK3QRr5QCnPXFJsPhB240h7lDJMLnados9c6ik=; b=FsRG0jBdanRI0ruASJ7LhntIB0gqAwJzFlOSpPbk4LTG8NNz+QNzankUFc7kKOY9DpIenGjHvy/BTxeOagKvKqKYYVwvIYm6iHBQQMSwXr4bVeRC+MAe5sCUQGCw285AUL6PcctMxVdfdYRl311JpZre1pAgYDxy1eOlWQSNd5wVWR0n2wHeD16ecyAYUzb7qggg40/2AG7UYHAZvEIyBO63DSijazrW8ppSDHvTEW+xtWHbLnvkfgPW6uyMcUvpDm/cCBsW4RbpNFFERteCxvCt1i/ucYU/dr9ZODzrmp7KW2r0g4+LN9Yh0dw2lN/rDe/SToaTCn6j8aSJRnE1hA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tzHyY-0005uu-9v; Mon, 31 Mar 2025 12:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77035] [PATCH v2 0/3] system: /etc/profile: Take care of all default profiles. References: <cover.1742043963.git.hako@ultrarare.space> In-Reply-To: <cover.1742043963.git.hako@ultrarare.space> Resent-From: Hilton Chain <hako@ultrarare.space> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: hako@ultrarare.space, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 16:27:02 +0000 Resent-Message-ID: <handler.77035.B77035.174343840322584@debbugs.gnu.org> 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 <hako@ultrarare.space>, Hilton Chain <hako@ultrarare.space>, Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> X-Debbugs-Original-Xcc: Hilton Chain <hako@ultrarare.space>, Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Received: via spool by 77035-submit@debbugs.gnu.org id=B77035.174343840322584 (code B ref 77035); Mon, 31 Mar 2025 16:27:02 +0000 Received: (at 77035) by debbugs.gnu.org; 31 Mar 2025 16:26:43 +0000 Received: from localhost ([127.0.0.1]:42585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tzHyF-0005sB-08 for submit@debbugs.gnu.org; Mon, 31 Mar 2025 12:26:43 -0400 Received: from mx.boiledscript.com ([2a01:4f8:10b:392::42]:59266) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <hako@ultrarare.space>) id 1tzHyC-0005rk-OS for 77035@debbugs.gnu.org; Mon, 31 Mar 2025 12:26:41 -0400 From: Hilton Chain <hako@ultrarare.space> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=mail; t=1743438398; 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=cKozGfK3QRr5QCnPXFJsPhB240h7lDJMLnados9c6ik=; b=b+E53MApQCjQm01TSaFIlvwNUTJAfNqf/X/4B1O0QdboCQLVCYarDwLG7o7LxhSwh++lE/ IU4GjHM3KQ6cFDAj3TLhvonATV6i1tJbBY3KUB1PwHfra+9x4HGOI5Y4AePgjWxADMpSPO s32KS30Zoh27+mlKUSX4FZs2eiV9c6eIcyfaGgaPYpFCT+ZAI4McMhe1D2SKr8vTSQJlNE 4EImhk4J0xdQgBUO+59zuVguX9FaF+X52KCLkyqLGRM6I8QeP0t4MD/TsfFWyFxZzPPHRl ulyVa3aJUaucS3G3s0MYfc36I0ZDZhfbtqDvtdOssRPRYUVHvPdlgdOMe5oGlA== Date: Tue, 1 Apr 2025 00:25:55 +0800 Message-ID: <cover.1743438266.git.hako@ultrarare.space> MIME-Version: 1.0 X-MS-Reactions: disallow Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=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 |
Series |
system: /etc/profile: Take care of all default profiles.
|
|
Message
Hilton Chain
March 31, 2025, 4:25 p.m. UTC
I ended up with a bigger change, so sending v2 for review ;) Note that I haven't tested the guix-install.sh change yet. Hilton Chain (3): system: /etc/profile: Take care of all default profiles. home: setup-environment: Skip if already initialized. guix-install.sh: /etc/profile.d/zzz-guix.sh: Handle Guix Home profile. etc/guix-install.sh | 86 +++++++++++-------- gnu/home/services.scm | 18 ++-- gnu/home/services/shells.scm | 10 ++- gnu/system.scm | 155 +++++++++++++++++++++++------------ gnu/system/shadow.scm | 10 --- 5 files changed, 174 insertions(+), 105 deletions(-) base-commit: 77d5eb4c16984e430b377e0b5f1551fbda171ec6 -- 2.49.0