From unknown Mon Aug 18 06:58:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67652: Guix home - bash alias declarations order Resent-From: Atte Torri Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 05 Dec 2023 23:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67652 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67652@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170182064714918 (code B ref -1); Tue, 05 Dec 2023 23:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Dec 2023 23:57:27 +0000 Received: from localhost ([127.0.0.1]:38547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAfI4-0003sU-6N for submit@debbugs.gnu.org; Tue, 05 Dec 2023 18:57:26 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAXks-0007I0-FX for submit@debbugs.gnu.org; Tue, 05 Dec 2023 10:54:42 -0500 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 1rAXkb-0006ib-Dj for bug-guix@gnu.org; Tue, 05 Dec 2023 10:54:21 -0500 Received: from smtp-out-27.di.u-psud.fr ([129.175.213.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAXkZ-0007fm-FZ for bug-guix@gnu.org; Tue, 05 Dec 2023 10:54:21 -0500 Received: from smtp-out-1.di.u-psud.fr (localhost [127.0.0.1]) by smtp-out-1.di.u-psud.fr (UPS-MTA-OUT) with ESMTP id 4Sl4pW1PY5zbkNq for ; Tue, 5 Dec 2023 16:54:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-out-1.di.u-psud.fr 4Sl4pW1PY5zbkNq DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=universite-paris-saclay.fr; s=dkim; t=1701791651; bh=Z4tFK0A8Edx2GLOtdBQkqwyDowrfBLzJATSDnpBNs4g=; h=Date:From:To:Subject:From; b=f/AYvTPLNPt3JUkaxLiz/BMtXyLHNBilbLx/n6ExEXYAM8eQrwdksfigeKW1ZziwY edIziYr4PIwUF3MzKY1fyNnt0oDU/hccFrM1MKWHWH3aFC6KAO+NqQ8LK6d8Ri050g bE1k7dKVNu1pF5XfsUnWyX3EILsKTD3XV+Uxuh8k= Received: from cisco-c600v-1.dsi.universite-paris-saclay.fr (cisco-c600v-1.dsi.universite-paris-saclay.fr [129.175.212.110]) by smtp-out-1.di.u-psud.fr (UPS-MTA-OUT) with ESMTP id 4Sl4pW1JYWz3X for ; Tue, 5 Dec 2023 16:54:11 +0100 (CET) X-CSE-ConnectionGUID: ezYesvfUTYW9fA+cPDkPNg== X-CSE-MsgGUID: SEui0id2Rd+dQneYpEHbZw== X-ThreatScanner-Verdict: Negative X-IPAS-Result: A1FBAwB7Rm9l/0YEFKxagliBNoEDgVBASIRTiHyHAZ4QgVaBfg8BAQEBAQEBAQFNBAEBhQaHLSc0CQ4BAgQBAQEBAwIDAQEBAQEBAQIBAQEEAQEBAgEBBgIBAQEBAoEGE4UvF4MEhB9oATEZAlsXhV8DrxCBMoEBhHauNIFpgUiHdBoBBWNmAYh1gQNSRIEVMoJHhX+DDoJoBIZ7gWM8BzIJgQAMCYEDW4IaXYErgQkDjWx+RANaFh0DBwNWKQ8rBwQtIgYJFC0jBlEEFxEhCRMSPgSDDhoKfz8PDhGBZ1dhNhlIglsVBjtKdRBCF4EKCG4bEx43ERIXDQMIdB0CMjwDBQMEMwoSDQshBVYDQgYJQAsDAhoFAwMEgTMFDR4CECwnAwMSSQIQFAMsDwMDBgMLMQMwVUQMTwNrHxocCTwPDB8CGx4NJyMCLEIDEQUSAhYDFQ8WBCgOEQkLKAMvBjgCEwwGBgleJhYJBCcDCAQDQQMJAwcFLB1AAwsYDUgRLDUUG0VzB6APhQZMgTCUAwSxWDQHghmBeQWBVQYMiHOWeosJjBqSY4dqKYRwiz+jEG2GPj2BWTMaJ0yCZ1IXAg+NeAGUGUMyOwIHAQoBAQMJiSKBQAEB IronPort-HdrOrdr: A9a23:6WjUPKgfNmLijfQ7itU7XQqwQnBQXs8ji2hC6mlwRA09TyXqra GTdZUgviMc5wx9ZJhNo6HjBEDEewK4yXcX2+Us1NWZNjUO0VHARL2Kr7GSoAEIcBeRygcy78 ddmuRFZ+HNMQ== X-Talos-CUID: 9a23:1oWefGqw/JRtesIqRaQoaSbmUc03Q3DG0nntH36HWGhAC7atZVyo3qwxxg== X-Talos-MUID: 9a23:jyL+kAy3VWe6pVwB+2DjT8rMhWeaqJ+DFUFVkJlcgcXHORV2NgaFoRS9cJByfw== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.04,252,1695679200"; d="scan'208,217";a="44725877" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-MGA-submission: MDERPEKBOKTaCOmYV1/C9rt3IMoKJFZ7Z1cYgseXd5fhBM/UBQRv1unYcTnbNRSyzcYMz+tvN6phmBJoAt/6sMrFV1jEaO5T4HDtIDgGpFtjsdQbClUA8Ae18I8VEab4/Ooh1lhbfekKeqct3BkauvOZr715edzj539Y8uq/nwsgzdZHjU8kP9UNTtlyaiXR7z0= Received: from mx1.u-psud.fr (HELO smtp-in-1.di.u-psud.fr) ([129.175.212.64]) by cisco-c600v-1.dsi.universite-paris-saclay.fr with ESMTP; 05 Dec 2023 16:54:10 +0100 Received: from zstore41.dsi.universite-paris-saclay.fr (zstore41.dsi.universite-paris-saclay.fr [172.20.4.70]) by smtp-in-1.di.u-psud.fr (UPS-MTA) with ESMTP id 4Sl4pV4tPWz3hhZR for ; Tue, 5 Dec 2023 16:54:10 +0100 (CET) Authentication-Results: smtp-in-1.di.u-psud.fr; none Date: Tue, 5 Dec 2023 16:54:10 +0100 (CET) From: Atte Torri Message-ID: <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_2b707446-624b-409b-9a8d-539c3712f148" Thread-Index: n4+gAHB93dCP0YkUlevBbABC/Nb+rA== Thread-Topic: Guix home - bash alias declarations order X-Rspamd-Queue-Id: 4Sl4pV4tPWz3hhZR X-Rspamd-Action: no action Received-SPF: pass client-ip=129.175.213.27; envelope-from=atte.torri@universite-paris-saclay.fr; helo=smtp-out-27.di.u-psud.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Tue, 05 Dec 2023 18:57:22 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=_2b707446-624b-409b-9a8d-539c3712f148 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=20 I have an issue with guix home alias declarations. The aliases I declare in= my home configuration always end up on top of the .bashrc file, while the = documentation for the home-bash-service-type says "The aliases will be defi= ned after the contents of the bashrc field has been put in the .bashrc file= .". The following is the bash configuration I use=20 (service home-bash-service-type=20 (home-bash-configuration=20 (bashrc (list (local-file ".bashrc" "bashrc")))=20 (bash-profile (list (local-file ".bash_profile" "bash_profile")))=20 (bash-logout (list (local-file ".bash_logout" "bash_logout")))=20 (aliases '(("egrep" . "egrep --color=3Dauto")=20 ("fgrep" . "fgrep --color=3Dauto")=20 ("grep" . "grep --color=3Dauto")=20 ("l" . "ls -CF")=20 ("la" . "ls -A")=20 ("ll" . "ls -alF")=20 ("ls" . "ls --color=3Dauto")))))=20 M. TORRI Atte=20 PhD Student (Computer Science) at Universit=C3=A9 Paris-Saclay=20 Doctorant (Informatique) =C3=A0 l'Universit=C3=A9 Paris-Saclay=20 =C3=89quipe ParSys - Laboratoire Interdisciplinaire des Sciences du Num=C3= =A9rique (LISN)=20 Bureau 105 - B=C3=A2timent 650=20 atte.torri@universite-paris-saclay.fr | 0169153106=20 --=_2b707446-624b-409b-9a8d-539c3712f148 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

I have an issue with guix home alias declarations. The alias= es I declare in my home configuration always end up on top of the .bashrc f= ile, while the documentation for the home-bash-service-type says "The alias= es will be defined after the contents of the bashrc field has = been put in the .bashrc file.". The following is the bash conf= iguration I use

(service hom= e-bash-service-type
           &nb= sp;     (home-bash-configuration
      = ;            (bashrc= (list (local-file ".bashrc" "bashrc")))
        =           (bash-profile (list = (local-file ".bash_profile" "bash_profile")))
       &= nbsp;          (bash-logout (l= ist (local-file ".bash_logout" "bash_logout")))
       = ;           (aliases '(("= egrep" . "egrep --color=3Dauto")
         &n= bsp;            = ;       ("fgrep" . "fgrep --color=3Dauto")
  &nbs= p;            &= nbsp;           &nbs= p; ("grep" . "grep --color=3Dauto")
         = ;            &n= bsp;       ("l" . "ls -CF")
     &= nbsp;           &nbs= p;           ("la" . "ls = -A")
 &nb= sp;            =             &nb= sp;  ("ll" . "ls -alF")
          =             &nb= sp;      ("ls" . "ls --color=3Dauto")))))


M. TORRI Atte
PhD Student (Computer Science) at Universit=C3=A9 Paris-Saclay
Docto= rant (Informatique) =C3=A0 l'Universit=C3=A9 Paris-Saclay
=C3=89quipe Pa= rSys - Laboratoire Interdisciplinaire des Sciences du Num=C3=A9rique (LISN)=
Bureau 105 - B=C3=A2timent 650
atte.torri@universite-paris-saclay.fr | 0169153106
--=_2b707446-624b-409b-9a8d-539c3712f148-- From unknown Mon Aug 18 06:58:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67652: Guix home - bash alias declarations order References: <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr> In-Reply-To: <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr> Resent-From: Christian Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Dec 2023 23:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67652 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67652@debbugs.gnu.org Received: via spool by 67652-submit@debbugs.gnu.org id=B67652.170190437620459 (code B ref 67652); Wed, 06 Dec 2023 23:13:03 +0000 Received: (at 67652) by debbugs.gnu.org; 6 Dec 2023 23:12:56 +0000 Received: from localhost ([127.0.0.1]:40653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rB14W-0005Js-5b for submit@debbugs.gnu.org; Wed, 06 Dec 2023 18:12:56 -0500 Received: from mail.dadoes.de ([2a01:4f8:fff0:1b::89bc:2a1c]:58006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAzBq-00021C-BO for 67652@debbugs.gnu.org; Wed, 06 Dec 2023 16:12:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dadoes.de; s=default; t=1701897118; bh=Hh66e1RH1qNsIOT7+9RLatb8TY8F/quudWYgsTbi+r0=; h=Date:From:To:Subject:From; b=MCz02Q/60s223n7WMR2Jl4FeMOSSC3vbBo3hW+WdQ4lVIqrlBANafeN6hRYG3w5Jl L7pNYEBzHEHlQF9MaQE4/85d8APzmosZYIGzth3EDLTJBkzIQAXLSBJEZTUbkGZPvz glnuNGlsPTgUOQN0d1pAoyIMA8EFEqWNs17BC33yj71N/2QBt4tcCzLqyqn63zVJgz Gl7H2thOdV7DwoK+dOLtqQLn/3lz/23zNnBuK1fNiPn//ZZ/dzLoQ1GyB5U5rJ+eht JqjU2OmmD3+E42B8dFvSETLaVsJXKJmSdq2Y4QIqFRGMkM1VyhENnXbIYoGp0poq1k cehZIRVZ8P8a8YYd/8HCxVkLEhL7Y6M/ro8/mIkx19nhjIftVS8RfG74i05cEO+YdI fYBLap69LJhYvW45RPguHGWHIDjrSYqJXJVrCItmw00aGuAPhsBs6DqWdQL63SyuvC bjjWoTBFJr0FO/FF/07eXC6xUg6Pnun7u+pPdWHB/hyiUHzOTjetkeF2uMe4YEHJT+ nHlBZnkhVvFRIYHld8IYO9mPV9u0c1YkC8mTPCUWYjvymvSE3zR9ghgELZnX4g+w1+ mG8VJp/M7VgQ7qVh4xUW61BXLJsyJDMtjap1+/W7yGhY+YFC2g+fm5SHQEnnKMVed3 6G5j8FV+UZ9FKd60rJ1Ui028= Received: from gnu (unknown [10.10.10.2]) by mail.dadoes.de (Postfix) with ESMTPSA id 789CF82B17 for <67652@debbugs.gnu.org>; Wed, 6 Dec 2023 22:11:58 +0100 (CET) Date: Wed, 06 Dec 2023 22:11:57 +0100 Message-Id: <87bkb3ox2a.fsf@dadoes.de> From: Christian Miller X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail.dadoes.de X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Wed, 06 Dec 2023 18:12:50 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, I have the same issue since I started using Guix home. Therefore I did this: --8<---------------cut here---------------start------------->8--- (service home-bash-service-type (home-bash-configuration (guix-defaults? #f) ;; Needs to be done since aliases are put on top and ;; would be overwritten by `guix-default`. (bashrc (list (plain-file "default-bashrc" %default-bashrc))) (aliases '(("ls" . "ls -lah --color") ("grep" . "grep --color"))))) --8<---------------cut here---------------end--------------->8--- Disabling "guix-defaults" and now you aliases should be at the bottom and work. -- Christian Miller From unknown Mon Aug 18 06:58:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67652: [PATCH] * home/services/shells.scm (add-bash-configuration): reorder aliases (Bug#67652) References: <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr> In-Reply-To: <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr> Resent-From: Jason Original-Sender: "Debbugs-submit" Resent-CC: , bug-guix@gnu.org Resent-Date: Thu, 22 Feb 2024 05:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67652 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: guix-patches@gnu.org Cc: Jason Darby , ( , Andrew Tropin , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Xcc: ( , Andrew Tropin , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by submit@debbugs.gnu.org id=B.170857895730720 (code B ref -1); Thu, 22 Feb 2024 05:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Feb 2024 05:15:57 +0000 Received: from localhost ([127.0.0.1]:49569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rd1R6-0007zH-Og for submit@debbugs.gnu.org; Thu, 22 Feb 2024 00:15:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:39482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rd0Rn-0004nL-4w for submit@debbugs.gnu.org; Wed, 21 Feb 2024 23:12:36 -0500 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 1rd0RP-0006bg-S0 for guix-patches@gnu.org; Wed, 21 Feb 2024 23:12:12 -0500 Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rd0RO-0001Ph-53 for guix-patches@gnu.org; Wed, 21 Feb 2024 23:12:11 -0500 Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-dc6d8bd618eso7295422276.3 for ; Wed, 21 Feb 2024 20:12:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708575122; x=1709179922; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dYuOjme/J+ZQKc4t0ckLodrjCLUvD9tIXGpUU8lAYJA=; b=XMcydojpXOuQq6fTEfhNPiUK2rdS8stGNgvCOUdsRay+lmZcrchoRIILs54reg601f ua86cY8FxhA9UtWRfgCPIyNNKH/du213QkpQZ/HRJ0k0oW9vTd7YdLq37eEelaYae+bm 9qq36PePsU1uOWofzbRD3W7+xSN1cMRxZdQtddnZyXPAFUOFK8gDx9qSXGQ+kYwcPQvR tvR/YI6JVAvZE+Nudyv/dRrLe52V4n8+bcOB1+PT1Qwy5JGm1AI6dzY+pK/GaMgKC3O3 kyrB9WedzW7m8bYXB4JcuJ6Mr6EDSQniYA6A9jh5JjjonOiXaCHu1jb5M+887PjiAatr VJ6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708575122; x=1709179922; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dYuOjme/J+ZQKc4t0ckLodrjCLUvD9tIXGpUU8lAYJA=; b=rEW/xQJWTc5nKGn8jeur6L9fLbxSe8I12WWzqwpM2U0RZWnlt/BuUwrhYdFoAIPdZc NeaD0HTlZH4d/fapUQv0qf44r7SxiIF0iMXjvtoe4uwvCWOqOIXcQPEizVpxBC7/9pIM VoL7F+7f7fGWMmld16+pUjwSMxD8MWUQg+/UUZZu1cp8oUWzyU0PuzvSNtsJMcrag/o1 U7mGOo7lJpUkbQXN4rOF6tjEjan+A8jF4xQHLoB4A+aG9FZnw2Zx7wMpTz5dMpIpNCX7 CLSwkVTbhQt1ZElViMe5ZtmTWPL3nxfj00+GwpMKAAVVXw3MrweZdcANrJJ0WxiU980t BFlw== X-Gm-Message-State: AOJu0Yzmqbd4OZw54QuFo0xgPw2x6BrcgGERe/6YHndZYCmwp0k7VUa/ wYOw1qZXmx55pw2B8wiapKSU0uJC/5KH4yD+msU6L91uH2d9I8d0xwJjU/kv X-Google-Smtp-Source: AGHT+IFDBsQ4eEM5ZzHojpzKL3FLIAQKYAobuRE0KTbUdxYS5WraV2lXhzq3h2hL3KXTyFenoggseA== X-Received: by 2002:a25:81c2:0:b0:dc6:aebb:168e with SMTP id n2-20020a2581c2000000b00dc6aebb168emr1254681ybm.26.1708575122596; Wed, 21 Feb 2024 20:12:02 -0800 (PST) Received: from localhost.localdomain (pool-71-178-11-160.washdc.fios.verizon.net. [71.178.11.160]) by smtp.googlemail.com with ESMTPSA id dn26-20020a05622a471a00b0042e2002ed12sm2653517qtb.57.2024.02.21.20.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 20:12:02 -0800 (PST) From: Jason Date: Wed, 21 Feb 2024 23:10:15 -0500 Message-ID: <7f93dd2f4f61dde7e538891f32ea43fae9948181.1708575015.git.jasonkdarby@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::b29; envelope-from=jasonkdarby@gmail.com; helo=mail-yb1-xb29.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -3.5 (---) X-Mailman-Approved-At: Thu, 22 Feb 2024 00:15:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) From: Jason Darby Change-Id: I288856bb6befe378ca60ef78578acc069cb18532 --- gnu/home/services/shells.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/home/services/shells.scm b/gnu/home/services/shells.scm index db82a7cff3..8fd1668b59 100644 --- a/gnu/home/services/shells.scm +++ b/gnu/home/services/shells.scm @@ -429,8 +429,8 @@ (define (add-bash-configuration config) ,@(list (file-if-not-empty 'bashrc (if (home-bash-configuration-guix-defaults? config) - (list (serialize-field 'aliases) - (plain-file-content %default-bashrc)) + (list (plain-file-content %default-bashrc) + (serialize-field 'aliases)) (list (serialize-field 'aliases)))) (file-if-not-empty 'bash-logout))))) base-commit: 8073a26022111c38808c1a803d59229288db0839 -- 2.41.0 From unknown Mon Aug 18 06:58:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Atte Torri Subject: bug#67652: closed (Re: bug#67652: [PATCH] * home/services/shells.scm (add-bash-configuration): reorder aliases (Bug#67652)) Message-ID: References: <87edbvn2z2.wl-hako@ultrarare.space> <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr> X-Gnu-PR-Message: they-closed 67652 X-Gnu-PR-Package: guix Reply-To: 67652@debbugs.gnu.org Date: Wed, 27 Mar 2024 14:54:09 +0000 Content-Type: multipart/mixed; boundary="----------=_1711551249-3366-1" This is a multi-part message in MIME format... ------------=_1711551249-3366-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67652: Guix home - bash alias declarations order which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 67652@debbugs.gnu.org. --=20 67652: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67652 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1711551249-3366-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67652-done) by debbugs.gnu.org; 27 Mar 2024 14:53:18 +0000 Received: from localhost ([127.0.0.1]:38089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpUeU-0000lP-4W for submit@debbugs.gnu.org; Wed, 27 Mar 2024 10:53:18 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:55928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpUeR-0000lD-Uy for 67652-done@debbugs.gnu.org; Wed, 27 Mar 2024 10:53:16 -0400 Date: Wed, 27 Mar 2024 22:50:25 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1711551121; 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: in-reply-to:in-reply-to:references:references; bh=QQDMlOXHWro+73ZydBYRqSFTvQOORrhhUJR4DliHNOk=; b=LYnkJ8F+rsR6Nn1bQqu+W29hqckIxCxx4lWBuBPaaDGYCz6/6ZLWHHJiAf8DPPlo7Wtyeg OaYSWQ9aVi2oVAEYKmokJTGd04oGhs5IKHbbXzlp2VYaocEDsoiRi4NaXSEVNp+tP3VVE4 hDe4QgA81ehFA6wmnDyJxkkwLs85htjCBSwoLCU+p6G+bUOpAFbs+LkFtyH1+L98DphPRA pr6o6AfJS70Kk7O+vdkrium5ut+QMGo2nN4d583XEd3MMti9CatCvxTR6snsTpxIrJRxCk OueHJtXXaaknGIUmvtnYLTkn7eH8JGKIj8OZhoFGnx8IZEquLIwTe2ucYwvUgQ== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Message-ID: <87edbvn2z2.wl-hako@ultrarare.space> From: Hilton Chain To: Jason Subject: Re: bug#67652: [PATCH] * home/services/shells.scm (add-bash-configuration): reorder aliases (Bug#67652) In-Reply-To: <7f93dd2f4f61dde7e538891f32ea43fae9948181.1708575015.git.jasonkdarby@gmail.com> References: <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr> <7f93dd2f4f61dde7e538891f32ea43fae9948181.1708575015.git.jasonkdarby@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: -- X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 67652-done Cc: 67652-done@debbugs.gnu.org, Atte Torri , Christian Miller X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi everyone, On Thu, 22 Feb 2024 12:10:15 +0800, Jason wrote: > > From: Jason Darby > > Change-Id: I288856bb6befe378ca60ef78578acc069cb18532 > --- > gnu/home/services/shells.scm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) I have applied Jason's patch as 0b38c9401bebb6b87093555ef3768a8e1855c938, thank you all! ------------=_1711551249-3366-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Dec 2023 23:57:27 +0000 Received: from localhost ([127.0.0.1]:38547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAfI4-0003sU-6N for submit@debbugs.gnu.org; Tue, 05 Dec 2023 18:57:26 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAXks-0007I0-FX for submit@debbugs.gnu.org; Tue, 05 Dec 2023 10:54:42 -0500 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 1rAXkb-0006ib-Dj for bug-guix@gnu.org; Tue, 05 Dec 2023 10:54:21 -0500 Received: from smtp-out-27.di.u-psud.fr ([129.175.213.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAXkZ-0007fm-FZ for bug-guix@gnu.org; Tue, 05 Dec 2023 10:54:21 -0500 Received: from smtp-out-1.di.u-psud.fr (localhost [127.0.0.1]) by smtp-out-1.di.u-psud.fr (UPS-MTA-OUT) with ESMTP id 4Sl4pW1PY5zbkNq for ; Tue, 5 Dec 2023 16:54:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-out-1.di.u-psud.fr 4Sl4pW1PY5zbkNq DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=universite-paris-saclay.fr; s=dkim; t=1701791651; bh=Z4tFK0A8Edx2GLOtdBQkqwyDowrfBLzJATSDnpBNs4g=; h=Date:From:To:Subject:From; b=f/AYvTPLNPt3JUkaxLiz/BMtXyLHNBilbLx/n6ExEXYAM8eQrwdksfigeKW1ZziwY edIziYr4PIwUF3MzKY1fyNnt0oDU/hccFrM1MKWHWH3aFC6KAO+NqQ8LK6d8Ri050g bE1k7dKVNu1pF5XfsUnWyX3EILsKTD3XV+Uxuh8k= Received: from cisco-c600v-1.dsi.universite-paris-saclay.fr (cisco-c600v-1.dsi.universite-paris-saclay.fr [129.175.212.110]) by smtp-out-1.di.u-psud.fr (UPS-MTA-OUT) with ESMTP id 4Sl4pW1JYWz3X for ; Tue, 5 Dec 2023 16:54:11 +0100 (CET) X-CSE-ConnectionGUID: ezYesvfUTYW9fA+cPDkPNg== X-CSE-MsgGUID: SEui0id2Rd+dQneYpEHbZw== X-ThreatScanner-Verdict: Negative X-IPAS-Result: =?us-ascii?q?A1FBAwB7Rm9l/0YEFKxagliBNoEDgVBASIRTiHyHAZ4Qg?= =?us-ascii?q?VaBfg8BAQEBAQEBAQFNBAEBhQaHLSc0CQ4BAgQBAQEBAwIDAQEBAQEBAQIBA?= =?us-ascii?q?QEEAQEBAgEBBgIBAQEBAoEGE4UvF4MEhB9oATEZAlsXhV8DrxCBMoEBhHauN?= =?us-ascii?q?IFpgUiHdBoBBWNmAYh1gQNSRIEVMoJHhX+DDoJoBIZ7gWM8BzIJgQAMCYEDW?= =?us-ascii?q?4IaXYErgQkDjWx+RANaFh0DBwNWKQ8rBwQtIgYJFC0jBlEEFxEhCRMSPgSDD?= =?us-ascii?q?hoKfz8PDhGBZ1dhNhlIglsVBjtKdRBCF4EKCG4bEx43ERIXDQMIdB0CMjwDB?= =?us-ascii?q?QMEMwoSDQshBVYDQgYJQAsDAhoFAwMEgTMFDR4CECwnAwMSSQIQFAMsDwMDB?= =?us-ascii?q?gMLMQMwVUQMTwNrHxocCTwPDB8CGx4NJyMCLEIDEQUSAhYDFQ8WBCgOEQkLK?= =?us-ascii?q?AMvBjgCEwwGBgleJhYJBCcDCAQDQQMJAwcFLB1AAwsYDUgRLDUUG0VzB6APh?= =?us-ascii?q?QZMgTCUAwSxWDQHghmBeQWBVQYMiHOWeosJjBqSY4dqKYRwiz+jEG2GPj2BW?= =?us-ascii?q?TMaJ0yCZ1IXAg+NeAGUGUMyOwIHAQoBAQMJiSKBQAEB?= IronPort-HdrOrdr: A9a23:6WjUPKgfNmLijfQ7itU7XQqwQnBQXs8ji2hC6mlwRA09TyXqra GTdZUgviMc5wx9ZJhNo6HjBEDEewK4yXcX2+Us1NWZNjUO0VHARL2Kr7GSoAEIcBeRygcy78 ddmuRFZ+HNMQ== X-Talos-CUID: =?us-ascii?q?9a23=3A1oWefGqw/JRtesIqRaQoaSbmUc03Q3DG0nntH36?= =?us-ascii?q?HWGhAC7atZVyo3qwxxg=3D=3D?= X-Talos-MUID: =?us-ascii?q?9a23=3AjyL+kAy3VWe6pVwB+2DjT8rMhWeaqJ+DFUFVkJl?= =?us-ascii?q?cgcXHORV2NgaFoRS9cJByfw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.04,252,1695679200"; d="scan'208,217";a="44725877" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-MGA-submission: =?us-ascii?q?MDERPEKBOKTaCOmYV1/C9rt3IMoKJFZ7Z1cYgs?= =?us-ascii?q?eXd5fhBM/UBQRv1unYcTnbNRSyzcYMz+tvN6phmBJoAt/6sMrFV1jEaO?= =?us-ascii?q?5T4HDtIDgGpFtjsdQbClUA8Ae18I8VEab4/Ooh1lhbfekKeqct3Bkauv?= =?us-ascii?q?OZr715edzj539Y8uq/nwsgzdZHjU8kP9UNTtlyaiXR7z0=3D?= Received: from mx1.u-psud.fr (HELO smtp-in-1.di.u-psud.fr) ([129.175.212.64]) by cisco-c600v-1.dsi.universite-paris-saclay.fr with ESMTP; 05 Dec 2023 16:54:10 +0100 Received: from zstore41.dsi.universite-paris-saclay.fr (zstore41.dsi.universite-paris-saclay.fr [172.20.4.70]) by smtp-in-1.di.u-psud.fr (UPS-MTA) with ESMTP id 4Sl4pV4tPWz3hhZR for ; Tue, 5 Dec 2023 16:54:10 +0100 (CET) Authentication-Results: smtp-in-1.di.u-psud.fr; none Date: Tue, 5 Dec 2023 16:54:10 +0100 (CET) From: Atte Torri To: bug-guix@gnu.org Message-ID: <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr> Subject: Guix home - bash alias declarations order MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_2b707446-624b-409b-9a8d-539c3712f148" Thread-Index: n4+gAHB93dCP0YkUlevBbABC/Nb+rA== Thread-Topic: Guix home - bash alias declarations order X-Rspamd-Queue-Id: 4Sl4pV4tPWz3hhZR X-Rspamd-Action: no action Received-SPF: pass client-ip=129.175.213.27; envelope-from=atte.torri@universite-paris-saclay.fr; helo=smtp-out-27.di.u-psud.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 05 Dec 2023 18:57:22 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=_2b707446-624b-409b-9a8d-539c3712f148 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=20 I have an issue with guix home alias declarations. The aliases I declare in= my home configuration always end up on top of the .bashrc file, while the = documentation for the home-bash-service-type says "The aliases will be defi= ned after the contents of the bashrc field has been put in the .bashrc file= .". The following is the bash configuration I use=20 (service home-bash-service-type=20 (home-bash-configuration=20 (bashrc (list (local-file ".bashrc" "bashrc")))=20 (bash-profile (list (local-file ".bash_profile" "bash_profile")))=20 (bash-logout (list (local-file ".bash_logout" "bash_logout")))=20 (aliases '(("egrep" . "egrep --color=3Dauto")=20 ("fgrep" . "fgrep --color=3Dauto")=20 ("grep" . "grep --color=3Dauto")=20 ("l" . "ls -CF")=20 ("la" . "ls -A")=20 ("ll" . "ls -alF")=20 ("ls" . "ls --color=3Dauto")))))=20 M. TORRI Atte=20 PhD Student (Computer Science) at Universit=C3=A9 Paris-Saclay=20 Doctorant (Informatique) =C3=A0 l'Universit=C3=A9 Paris-Saclay=20 =C3=89quipe ParSys - Laboratoire Interdisciplinaire des Sciences du Num=C3= =A9rique (LISN)=20 Bureau 105 - B=C3=A2timent 650=20 atte.torri@universite-paris-saclay.fr | 0169153106=20 --=_2b707446-624b-409b-9a8d-539c3712f148 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

I have an issue with guix home alias declarations. The alias= es I declare in my home configuration always end up on top of the .bashrc f= ile, while the documentation for the home-bash-service-type says "The alias= es will be defined after the contents of the bashrc field has = been put in the .bashrc file.". The following is the bash conf= iguration I use

(service hom= e-bash-service-type
           &nb= sp;     (home-bash-configuration
      = ;            (bashrc= (list (local-file ".bashrc" "bashrc")))
        =           (bash-profile (list = (local-file ".bash_profile" "bash_profile")))
       &= nbsp;          (bash-logout (l= ist (local-file ".bash_logout" "bash_logout")))
       = ;           (aliases '(("= egrep" . "egrep --color=3Dauto")
         &n= bsp;            = ;       ("fgrep" . "fgrep --color=3Dauto")
  &nbs= p;            &= nbsp;           &nbs= p; ("grep" . "grep --color=3Dauto")
         = ;            &n= bsp;       ("l" . "ls -CF")
     &= nbsp;           &nbs= p;           ("la" . "ls = -A")
 &nb= sp;            =             &nb= sp;  ("ll" . "ls -alF")
          =             &nb= sp;      ("ls" . "ls --color=3Dauto")))))


M. TORRI Atte
PhD Student (Computer Science) at Universit=C3=A9 Paris-Saclay
Docto= rant (Informatique) =C3=A0 l'Universit=C3=A9 Paris-Saclay
=C3=89quipe Pa= rSys - Laboratoire Interdisciplinaire des Sciences du Num=C3=A9rique (LISN)=
Bureau 105 - B=C3=A2timent 650
atte.torri@universite-paris-saclay.fr | 0169153106
--=_2b707446-624b-409b-9a8d-539c3712f148-- ------------=_1711551249-3366-1--