GNU bug report logs - #76796
[PATCH] gnu: fish: Add support for guix home profile.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Luis Guilherme Coelho <lgcoelho@HIDDEN>; Keywords: patch; dated Fri, 7 Mar 2025 00:19:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Mar 2025 00:18:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 06 19:18:54 2025
Received: from localhost ([127.0.0.1]:45973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqLQU-0006fq-3Q
	for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 19:18:54 -0500
Received: from lists.gnu.org ([2001:470:142::17]:45784)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lgcoelho@HIDDEN>)
 id 1tqLQS-0006fb-AQ
 for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 19:18:52 -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 <lgcoelho@HIDDEN>)
 id 1tqLQL-0000YB-QH
 for guix-patches@HIDDEN; Thu, 06 Mar 2025 19:18:46 -0500
Received: from layka.disroot.org ([178.21.23.139])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lgcoelho@HIDDEN>)
 id 1tqLQJ-0002LX-2r
 for guix-patches@HIDDEN; Thu, 06 Mar 2025 19:18:45 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 1F6142588F;
 Fri,  7 Mar 2025 01:18:36 +0100 (CET)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from layka.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP
 id CxkrkKFnVuuv; Fri,  7 Mar 2025 01:18:34 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1741306714; bh=zLPNQ2y0qqUSbrEiK/uXXaMHwtoGHESUtDUNmb38Qrs=;
 h=From:To:Cc:Subject:Date;
 b=XgXNBqLdp3KUyO0RqVfMLh62CLUu7YmxEGJX7omIxSbdnLG/jrTP2f+TmFbFxryFX
 Ufo/aQi77tcpOZNWlHK+w04aQUjI+Mrb95Bk+PNoK6eAcm8oixxABMhquVqxcs2da8
 jn6/KJl6O/Ly/ejjLznj3u6Fn9slkIo22W5H72R1+2fqB54p1VQRclWGR42D8IuIIc
 AEVp052RDUBhrHb37mKezl+lI3LrnD9/1RhdgJJ3OYjjxx9eo+QTi523digRShp/qn
 XM8yRTG+laFIYFanTIop5hMBiSVooA25gzTVHEF27caRWXzvqLyaKK7Gs/8J2QBlRQ
 8wCebdkCvoEEQ==
From: Luis Guilherme Coelho <lgcoelho@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: fish: Add support for guix home profile.
Date: Thu,  6 Mar 2025 21:18:04 -0300
Message-ID: <31435aaacaceddc8a2baa176e431393a10446ed1.1741306684.git.lgcoelho@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=lgcoelho@HIDDEN;
 helo=layka.disroot.org
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,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Luis Guilherme Coelho <lgcoelho@HIDDEN>
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

* gnu/packages/shells.scm (fish)[arguments]<#:phases>
{patch-fish-extra-paths}: Add `~/.guix-home/profile' to `__guix_profile_paths'.

Change-Id: If896cfc4f948d86c52073235a6f4a2c1d085e7a6
---
Currently, the completions, configurations and functions installed in
~/.guix-home/profile/etc/fish/{completions,conf.d,functions} are ignored,
as these directories aren't listed under __fish_vendor_completionsdirs,
__fish_vendor_confdirs and __fish_vendor_functionsdirs. This patch
addresses, and fixes, this issue.

 gnu/packages/shells.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 63bdf69705..e177a90de0 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -223,10 +223,10 @@ (define-public fish
                 (string-append
                  "\n\n"
                  "# Patched by Guix.\n"
-                 "# Enable completions, functions and configurations in user's"
-                 " and system's guix profiles by adding them to __extra_*"
+                 "# Enable completions, functions and configurations in user's,"
+                 " home's and system's guix profiles by adding them to __extra_*"
                  " variables.\n"
-                 "set -l __guix_profile_paths ~/.guix-profile"
+                 "set -l __guix_profile_paths ~/.guix-profile ~/.guix-home/profile"
                  " /run/current-system/profile\n"
                  "set __extra_completionsdir"
                  " $__guix_profile_paths\"/etc/fish/completions\""

base-commit: 310adf4ce70cbb864859274fcc7842bd519bbddc
-- 
2.48.1





Acknowledgement sent to Luis Guilherme Coelho <lgcoelho@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#76796; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 7 Mar 2025 00:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.