Message ID | 87ilkyed53.fsf@trop.in |
---|---|
State | New |
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 14EBB27BBEA; Wed, 5 Oct 2022 12:15:13 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 B940627BBE9 for <patchwork@mira.cbaines.net>; Wed, 5 Oct 2022 12:15:12 +0100 (BST) Received: from localhost ([::1]:41450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1og2Mp-0003Rh-Lg for patchwork@mira.cbaines.net; Wed, 05 Oct 2022 07:15:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45084) 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 1og2Mg-0003QE-U7 for guix-patches@gnu.org; Wed, 05 Oct 2022 07:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56990) 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 1og2Mg-000196-IB for guix-patches@gnu.org; Wed, 05 Oct 2022 07:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1og2Mg-0006oe-DB for guix-patches@gnu.org; Wed, 05 Oct 2022 07:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58303] [PATCH] system: Source .profile in skeleton bash_profile. Resent-From: Andrew Tropin <andrew@trop.in> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Oct 2022 11:15:02 +0000 Resent-Message-ID: <handler.58303.B.166496845826098@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58303 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58303@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166496845826098 (code B ref -1); Wed, 05 Oct 2022 11:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2022 11:14:18 +0000 Received: from localhost ([127.0.0.1]:56062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1og2Lx-0006mq-RF for submit@debbugs.gnu.org; Wed, 05 Oct 2022 07:14:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:34670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andrew@trop.in>) id 1og2Lv-0006mi-JW for submit@debbugs.gnu.org; Wed, 05 Oct 2022 07:14:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <andrew@trop.in>) id 1og2Lv-00033B-Ce for guix-patches@gnu.org; Wed, 05 Oct 2022 07:14:15 -0400 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]:51237) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <andrew@trop.in>) id 1og2Ls-00011n-M2 for guix-patches@gnu.org; Wed, 05 Oct 2022 07:14:14 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 32D1A100003 for <guix-patches@gnu.org>; Wed, 5 Oct 2022 11:14:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1664968447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=7yFtDO9XG2MVc+qHfxGNfDj8j/VGWptHgQ54LElQd1Y=; b=FmOigcncRL/QTJEXF5FxWSuhcr4bOaB3LSwD2g+3ytaWLacs8I5cCSegXmCTtPkC69NWNg /dLbSEpRpocnozqz7s5AO9e57h37Rc40PN416DqN5V6G7hqdQbZSPkqOhHdETnbxnDFLmf H/G1sUYzynyxRZOnszVN0GIQp2Ef5QcZ7FIO+J4+TD8orZvLCSfe9Q8rSjUKOCx0t2NELH ZGaEyEERwflWcs8aYFzMbto2CAS0UhzXOpYbdSVfiWyC86zcmxuiUFAjN8VFMmrmFS/pQH jab3yGe0N1L/ZWQG83bltU3tUdSx5RXjT6uHReEYqwxpoRdbRUCxaqXw1KYDEg== From: Andrew Tropin <andrew@trop.in> Date: Fri, 14 Jan 2022 09:16:49 +0300 Message-ID: <87ilkyed53.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:4b98:dc4:8::231; envelope-from=andrew@trop.in; helo=relay11.mail.gandi.net X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#58303] system: Source .profile in skeleton bash_profile.
|
|
Commit Message
Andrew Tropin
Jan. 14, 2022, 6:16 a.m. UTC
* gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in skeleton bash_profile. --- gnu/system/shadow.scm | 3 +++ 1 file changed, 3 insertions(+)
Comments
Andrew Tropin <andrew@trop.in> writes: > [[PGP Signed Part:Undecided]] > > * gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in > skeleton bash_profile. > --- > gnu/system/shadow.scm | 3 +++ > 1 file changed, 3 insertions(+) Hey! This issue has been open for a while, is the patch still relevant? It seems OK to me, but then I don't know much about this shell stuff or guix home. Chris
On 2022-11-03 16:49, Christopher Baines wrote: > Andrew Tropin <andrew@trop.in> writes: > >> [[PGP Signed Part:Undecided]] >> >> * gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in >> skeleton bash_profile. >> --- >> gnu/system/shadow.scm | 3 +++ >> 1 file changed, 3 insertions(+) > > Hey! > > This issue has been open for a while, is the patch still relevant? > > It seems OK to me, but then I don't know much about this shell stuff or > guix home. > > Chris Yep, still relevant.
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 59f0a02c8b..f30ac79932 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -123,6 +123,9 @@ (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\n")) (bashrc (plain-file "bashrc" "\