From unknown Sun Jun 22 00:51:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#76796] [PATCH] gnu: fish: Add support for guix home profile. Resent-From: Luis Guilherme Coelho Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Mar 2025 00:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76796@debbugs.gnu.org Cc: Luis Guilherme Coelho X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174130673425662 (code B ref -1); Fri, 07 Mar 2025 00:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Mar 2025 00:18:54 +0000 Received: from localhost ([127.0.0.1]:45973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tqLQU-0006fq-3Q for submit@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 ) id 1tqLQS-0006fb-AQ for submit@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 ) id 1tqLQL-0000YB-QH for guix-patches@gnu.org; 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 ) id 1tqLQJ-0002LX-2r for guix-patches@gnu.org; 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 Date: Thu, 6 Mar 2025 21:18:04 -0300 Message-ID: <31435aaacaceddc8a2baa176e431393a10446ed1.1741306684.git.lgcoelho@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=lgcoelho@disroot.org; 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-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.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 From unknown Sun Jun 22 00:51:35 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: Luis Guilherme Coelho Subject: bug#76796: closed (Re: [bug#76796] [PATCH] gnu: fish: Add support for guix home profile.) Message-ID: References: <87msdtq426.fsf@gnu.org> <31435aaacaceddc8a2baa176e431393a10446ed1.1741306684.git.lgcoelho@disroot.org> X-Gnu-PR-Message: they-closed 76796 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 76796@debbugs.gnu.org Date: Sun, 09 Mar 2025 21:37:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1741556223-16001-1" This is a multi-part message in MIME format... ------------=_1741556223-16001-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #76796: [PATCH] gnu: fish: Add support for guix home profile. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 76796@debbugs.gnu.org. --=20 76796: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76796 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1741556223-16001-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 76796-done) by debbugs.gnu.org; 9 Mar 2025 21:37:00 +0000 Received: from localhost ([127.0.0.1]:34593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trOKR-00049b-KZ for submit@debbugs.gnu.org; Sun, 09 Mar 2025 17:36:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42694) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trOKP-00049M-1O for 76796-done@debbugs.gnu.org; Sun, 09 Mar 2025 17:36:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1trOKJ-00030e-JQ; Sun, 09 Mar 2025 17:36:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=OhWjvOgmbBSv0nzxlpqTAr6BGI5k8bOa77C9l+IUJpY=; b=qTFw9LqAzUJxkkmtwAYs pj3nR5TMm6zbl9Pbh9RfQqQiJdmYUI+AAsPjNwqNN0V5SIjXC5NYLVIvGj5I/QZmlsDNxJuVsZaCi Hu8wAFZxFegSV7jxmwEfZPsiSOxY0Ty6jOpSKVlFE/HMGN1xAy0TWXJ9VGjPeWA/tObeuWllBL58a nfnnANMpXSgCBCJptvMYChX9TFKi/UZ+NFV+ySSqBse+9aMl/95shVNBG8idXVYo5WUs48FPnqokr isLCbR0FAV8u+qiwczId/Qz8FTcLA2t2YA07e/L5mj4iIDR0rnDA5oHEg8dOk4e7vYCukJ+tYPtjS Bx/O7dShSmF79g==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Luis Guilherme Coelho Subject: Re: [bug#76796] [PATCH] gnu: fish: Add support for guix home profile. In-Reply-To: <31435aaacaceddc8a2baa176e431393a10446ed1.1741306684.git.lgcoelho@disroot.org> (Luis Guilherme Coelho's message of "Thu, 6 Mar 2025 21:18:04 -0300") References: <31435aaacaceddc8a2baa176e431393a10446ed1.1741306684.git.lgcoelho@disroot.org> Date: Sun, 09 Mar 2025 22:36:49 +0100 Message-ID: <87msdtq426.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76796-done Cc: 76796-done@debbugs.gnu.org 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: -3.3 (---) Luis Guilherme Coelho skribis: > * gnu/packages/shells.scm (fish)[arguments]<#:phases> > {patch-fish-extra-paths}: Add `~/.guix-home/profile' to `__guix_profile_paths'. > > Change-Id: If896cfc4f948d86c52073235a6f4a2c1d085e7a6 Applied, thanks! ------------=_1741556223-16001-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Mar 2025 00:18:54 +0000 Received: from localhost ([127.0.0.1]:45973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tqLQU-0006fq-3Q for submit@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 ) id 1tqLQS-0006fb-AQ for submit@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 ) id 1tqLQL-0000YB-QH for guix-patches@gnu.org; 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 ) id 1tqLQJ-0002LX-2r for guix-patches@gnu.org; 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 To: guix-patches@gnu.org 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@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=lgcoelho@disroot.org; 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 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.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 ------------=_1741556223-16001-1--