From unknown Sat Sep 20 18:41:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26792: Fix output of --help in package fish Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 May 2017 00:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26792 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 26792@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149403223818956 (code B ref -1); Sat, 06 May 2017 00:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 May 2017 00:57:18 +0000 Received: from localhost ([127.0.0.1]:56968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6o29-0004vf-My for submit@debbugs.gnu.org; Fri, 05 May 2017 20:57:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6o27-0004vQ-8m for submit@debbugs.gnu.org; Fri, 05 May 2017 20:57:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6o21-0000BE-2q for submit@debbugs.gnu.org; Fri, 05 May 2017 20:57:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d6o20-0000BA-VN for submit@debbugs.gnu.org; Fri, 05 May 2017 20:57:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6o1z-0007vA-Id for guix-patches@gnu.org; Fri, 05 May 2017 20:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6o1u-00009w-Lj for guix-patches@gnu.org; Fri, 05 May 2017 20:57:07 -0400 Received: from 93-95-228-241.1984.is ([93.95.228.241]:42564 helo=sharknado9001.pragmatique.xyz) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d6o1u-00008w-9k for guix-patches@gnu.org; Fri, 05 May 2017 20:57:02 -0400 Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id 23c57231 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sat, 6 May 2017 00:56:47 +0000 (UTC) Date: Sat, 6 May 2017 00:56:54 +0000 From: ng0 Message-ID: <20170506005654.6fmz6ojzieve7mnv@abyayala> Mail-Followup-To: guix-patches@gnu.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="wral7qz4fqzdg4fo" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) --wral7qz4fqzdg4fo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Currently the output of fish --help fails if the nroff binary is not found. The patch fixes the issue by embeding a reference to the groff provided nroff, fish --help produces correct output after this is applied. -- https://pragmatique.xyz PGP: https://people.pragmatique.xyz/ng0/ --wral7qz4fqzdg4fo Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-fish-Reference-groff-to-fix-output-of-fish-help.patch" Content-Transfer-Encoding: quoted-printable =46rom 5a22ffdccef3266f6a4050f715f304c10c259ba3 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 6 May 2017 00:12:58 +0000 Subject: [PATCH] gnu: fish: Reference 'groff' to fix output of 'fish --help= '. * gnu/packages/shells.scm (fish)[native-inputs]: Add 'groff'. (arguments): Add 'nroff' substitution in 'embed-store-paths' phase. --- gnu/packages/shells.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index d87d58e5c..6f06acfa4 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -31,6 +31,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages documentation) + #:use-module (gnu packages groff) #:use-module (gnu packages libedit) #:use-module (gnu packages ncurses) #:use-module (gnu packages pcre) @@ -112,7 +113,8 @@ direct descendant of NetBSD's Almquist Shell (@command{= ash}).") ((".*INSTALL.*sysconfdir.*fish.*") ""))))) (build-system gnu-build-system) (native-inputs - `(("doxygen" ,doxygen))) + `(("doxygen" ,doxygen) + ("groff" ,groff))) (inputs `(("bc" ,bc) ("ncurses" ,ncurses) @@ -133,6 +135,8 @@ direct descendant of NetBSD's Almquist Shell (@command{= ash}).") "/bin/bc"))) (substitute* "share/functions/fish_update_completions.fish" (("python") (which "python"))) + (substitute* "share/functions/__fish_print_help.fish" + (("nroff") (which "nroff"))) #t))))) (synopsis "The friendly interactive shell") (description --=20 2.12.2 --wral7qz4fqzdg4fo-- From unknown Sat Sep 20 18:41:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26792: Acknowledgement (Fix output of --help in package fish) Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 May 2017 10:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26792 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 26792@debbugs.gnu.org Received: via spool by 26792-submit@debbugs.gnu.org id=B26792.14940675116941 (code B ref 26792); Sat, 06 May 2017 10:46:01 +0000 Received: (at 26792) by debbugs.gnu.org; 6 May 2017 10:45:11 +0000 Received: from localhost ([127.0.0.1]:57209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6xD4-0001nt-OB for submit@debbugs.gnu.org; Sat, 06 May 2017 06:45:10 -0400 Received: from 93-95-228-241.1984.is ([93.95.228.241]:55638 helo=sharknado9001.pragmatique.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6xD2-0001nj-HC for 26792@debbugs.gnu.org; Sat, 06 May 2017 06:45:09 -0400 Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id eb02551b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <26792@debbugs.gnu.org>; Sat, 6 May 2017 10:44:56 +0000 (UTC) Date: Sat, 6 May 2017 10:44:53 +0000 From: ng0 Message-ID: <20170506104453.men2xianv4d3ynci@abyayala> Mail-Followup-To: 26792@debbugs.gnu.org References: <20170506005654.6fmz6ojzieve7mnv@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Score: 0.4 (/) 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.4 (/) I just created a new user which uses fish as the login shell and I need to update this patch. There is more to be embeded for fish. GNU bug Tracking System transcribed 0.7K bytes: > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > guix-patches@gnu.org > > If you wish to submit further information on this problem, please > send it to 26792@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. > > -- > 26792: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26792 > GNU Bug Tracking System > Contact help-debbugs@gnu.org with problems -- https://pragmatique.xyz PGP: https://people.pragmatique.xyz/ng0/ From unknown Sat Sep 20 18:41:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26792: Acknowledgement (Fix output of --help in package fish) Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 May 2017 11:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26792 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 26792@debbugs.gnu.org Cc: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14940686588798 (code B ref -1); Sat, 06 May 2017 11:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 May 2017 11:04:18 +0000 Received: from localhost ([127.0.0.1]:57232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6xVZ-0002Hq-O0 for submit@debbugs.gnu.org; Sat, 06 May 2017 07:04:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6xVY-0002HZ-FY for submit@debbugs.gnu.org; Sat, 06 May 2017 07:04:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6xVS-0007ih-E1 for submit@debbugs.gnu.org; Sat, 06 May 2017 07:04:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d6xVS-0007ib-BZ for submit@debbugs.gnu.org; Sat, 06 May 2017 07:04:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6xVR-0007n9-1o for bug-guix@gnu.org; Sat, 06 May 2017 07:04:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6xVN-0007gT-Um for bug-guix@gnu.org; Sat, 06 May 2017 07:04:09 -0400 Received: from 93-95-228-241.1984.is ([93.95.228.241]:42570 helo=sharknado9001.pragmatique.xyz) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d6xVN-0007ez-J3 for bug-guix@gnu.org; Sat, 06 May 2017 07:04:05 -0400 Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id 31633878 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 6 May 2017 11:03:52 +0000 (UTC) Date: Sat, 6 May 2017 11:03:53 +0000 From: ng0 Message-ID: <20170506110353.zn67kryidtvmfhud@abyayala> Mail-Followup-To: 26792@debbugs.gnu.org, bug-guix@gnu.org References: <20170506005654.6fmz6ojzieve7mnv@abyayala> <20170506104453.men2xianv4d3ynci@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170506104453.men2xianv4d3ynci@abyayala> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) ng0 transcribed 1.0K bytes: > I just created a new user which uses fish as the login shell and > I need to update this patch. There is more to be embeded for fish. This is similar to the "mc" situation. In a plain fish profile with no bash whatsoever, your default $PATH is: echo $PATH /usr /usr/bin the major issue when logging in is: 1. grep is not found. 2. hostname is not found. The question to think about is, how do we provide access to the basic applications (grep, awk, hostname, etc) fish needs? Substituting a minimal set of files where necessary seems like the best working solution for a system which does not assume any other shell and therefore does initially export no $PATH other than /usr and /usr/bin. The very least I want people to experience is no error immediately after first login. This happens at the moment. -- https://pragmatique.xyz PGP: https://people.pragmatique.xyz/ng0/ From unknown Sat Sep 20 18:41:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26792: Acknowledgement (Fix output of --help in package fish) Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 May 2017 11:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26792 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 26792@debbugs.gnu.org Received: via spool by 26792-submit@debbugs.gnu.org id=B26792.149407060118537 (code B ref 26792); Sat, 06 May 2017 11:37:01 +0000 Received: (at 26792) by debbugs.gnu.org; 6 May 2017 11:36:41 +0000 Received: from localhost ([127.0.0.1]:57247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6y0v-0004ov-95 for submit@debbugs.gnu.org; Sat, 06 May 2017 07:36:41 -0400 Received: from 93-95-228-241.1984.is ([93.95.228.241]:55644 helo=sharknado9001.pragmatique.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6y0t-0004om-8b for 26792@debbugs.gnu.org; Sat, 06 May 2017 07:36:40 -0400 Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id 5ee7e215 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <26792@debbugs.gnu.org>; Sat, 6 May 2017 11:36:27 +0000 (UTC) Date: Sat, 6 May 2017 11:36:33 +0000 From: ng0 Message-ID: <20170506113633.elg5jvkhl7myfkkr@abyayala> Mail-Followup-To: 26792@debbugs.gnu.org References: <20170506005654.6fmz6ojzieve7mnv@abyayala> <20170506104453.men2xianv4d3ynci@abyayala> <20170506110353.zn67kryidtvmfhud@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170506110353.zn67kryidtvmfhud@abyayala> X-Spam-Score: 0.4 (/) 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.4 (/) ng0 transcribed 0.9K bytes: > ng0 transcribed 1.0K bytes: > > I just created a new user which uses fish as the login shell and > > I need to update this patch. There is more to be embeded for fish. > > This is similar to the "mc" situation. > > In a plain fish profile with no bash whatsoever, your default $PATH is: > > echo $PATH > /usr /usr/bin A correction: $PATH = /bin /usr/bin > the major issue when logging in is: > > 1. grep is not found. > 2. hostname is not found. > > The question to think about is, how do we provide access to the basic > applications (grep, awk, hostname, etc) fish needs? Substituting a minimal > set of files where necessary seems like the best working solution for a > system which does not assume any other shell and therefore does initially > export no $PATH other than /usr and /usr/bin. > > The very least I want people to experience is no error immediately after > first login. This happens at the moment. > -- > https://pragmatique.xyz > PGP: https://people.pragmatique.xyz/ng0/ > > > -- https://pragmatique.xyz PGP: https://people.pragmatique.xyz/ng0/ From unknown Sat Sep 20 18:41:22 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: ng0 Subject: bug#26792: closed (Re: bug#26792: Fix output of --help in package fish) Message-ID: References: <87r302um5u.fsf@gnu.org> <20170506005654.6fmz6ojzieve7mnv@abyayala> X-Gnu-PR-Message: they-closed 26792 X-Gnu-PR-Package: guix-patches Reply-To: 26792@debbugs.gnu.org Date: Sat, 06 May 2017 13:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1494078842-31045-1" This is a multi-part message in MIME format... ------------=_1494078842-31045-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26792: Fix output of --help in package fish 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 26792@debbugs.gnu.org. --=20 26792: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26792 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1494078842-31045-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26792-done) by debbugs.gnu.org; 6 May 2017 13:53:37 +0000 Received: from localhost ([127.0.0.1]:57334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d709R-000849-B7 for submit@debbugs.gnu.org; Sat, 06 May 2017 09:53:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d709K-00083r-1l for 26792-done@debbugs.gnu.org; Sat, 06 May 2017 09:53:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d709A-0002E6-0S for 26792-done@debbugs.gnu.org; Sat, 06 May 2017 09:53:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7099-0002Dv-Tq for 26792-done@debbugs.gnu.org; Sat, 06 May 2017 09:53:19 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:49470 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d7099-0007z4-Bo for 26792-done@debbugs.gnu.org; Sat, 06 May 2017 09:53:19 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: 26792-done@debbugs.gnu.org Subject: Re: bug#26792: Fix output of --help in package fish References: <20170506005654.6fmz6ojzieve7mnv@abyayala> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 06 May 2017 15:53:17 +0200 In-Reply-To: <20170506005654.6fmz6ojzieve7mnv@abyayala> (ng0@pragmatique.xyz's message of "Sat, 6 May 2017 00:56:54 +0000") Message-ID: <87r302um5u.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26792-done 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: -5.0 (-----) ng0 skribis: > Currently the output of fish --help fails if the nroff binary is not foun= d. > The patch fixes the issue by embeding a reference to the groff provided n= roff, > fish --help produces correct output after this is applied. > --=20 > https://pragmatique.xyz > PGP: https://people.pragmatique.xyz/ng0/ > > From 5a22ffdccef3266f6a4050f715f304c10c259ba3 Mon Sep 17 00:00:00 2001 > From: ng0 > Date: Sat, 6 May 2017 00:12:58 +0000 > Subject: [PATCH] gnu: fish: Reference 'groff' to fix output of 'fish --he= lp'. > > * gnu/packages/shells.scm (fish)[native-inputs]: Add 'groff'. > (arguments): Add 'nroff' substitution in 'embed-store-paths' phase. Applied, but moving groff to =E2=80=98inputs=E2=80=99 since it=E2=80=99s ne= eded at run time. Thanks! Ludo=E2=80=99. ------------=_1494078842-31045-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 May 2017 00:57:18 +0000 Received: from localhost ([127.0.0.1]:56968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6o29-0004vf-My for submit@debbugs.gnu.org; Fri, 05 May 2017 20:57:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6o27-0004vQ-8m for submit@debbugs.gnu.org; Fri, 05 May 2017 20:57:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6o21-0000BE-2q for submit@debbugs.gnu.org; Fri, 05 May 2017 20:57:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d6o20-0000BA-VN for submit@debbugs.gnu.org; Fri, 05 May 2017 20:57:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6o1z-0007vA-Id for guix-patches@gnu.org; Fri, 05 May 2017 20:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6o1u-00009w-Lj for guix-patches@gnu.org; Fri, 05 May 2017 20:57:07 -0400 Received: from 93-95-228-241.1984.is ([93.95.228.241]:42564 helo=sharknado9001.pragmatique.xyz) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d6o1u-00008w-9k for guix-patches@gnu.org; Fri, 05 May 2017 20:57:02 -0400 Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id 23c57231 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sat, 6 May 2017 00:56:47 +0000 (UTC) Date: Sat, 6 May 2017 00:56:54 +0000 From: ng0 To: guix-patches@gnu.org Subject: Fix output of --help in package fish Message-ID: <20170506005654.6fmz6ojzieve7mnv@abyayala> Mail-Followup-To: guix-patches@gnu.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="wral7qz4fqzdg4fo" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) --wral7qz4fqzdg4fo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Currently the output of fish --help fails if the nroff binary is not found. The patch fixes the issue by embeding a reference to the groff provided nroff, fish --help produces correct output after this is applied. -- https://pragmatique.xyz PGP: https://people.pragmatique.xyz/ng0/ --wral7qz4fqzdg4fo Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-fish-Reference-groff-to-fix-output-of-fish-help.patch" Content-Transfer-Encoding: quoted-printable =46rom 5a22ffdccef3266f6a4050f715f304c10c259ba3 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 6 May 2017 00:12:58 +0000 Subject: [PATCH] gnu: fish: Reference 'groff' to fix output of 'fish --help= '. * gnu/packages/shells.scm (fish)[native-inputs]: Add 'groff'. (arguments): Add 'nroff' substitution in 'embed-store-paths' phase. --- gnu/packages/shells.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index d87d58e5c..6f06acfa4 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -31,6 +31,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages documentation) + #:use-module (gnu packages groff) #:use-module (gnu packages libedit) #:use-module (gnu packages ncurses) #:use-module (gnu packages pcre) @@ -112,7 +113,8 @@ direct descendant of NetBSD's Almquist Shell (@command{= ash}).") ((".*INSTALL.*sysconfdir.*fish.*") ""))))) (build-system gnu-build-system) (native-inputs - `(("doxygen" ,doxygen))) + `(("doxygen" ,doxygen) + ("groff" ,groff))) (inputs `(("bc" ,bc) ("ncurses" ,ncurses) @@ -133,6 +135,8 @@ direct descendant of NetBSD's Almquist Shell (@command{= ash}).") "/bin/bc"))) (substitute* "share/functions/fish_update_completions.fish" (("python") (which "python"))) + (substitute* "share/functions/__fish_print_help.fish" + (("nroff") (which "nroff"))) #t))))) (synopsis "The friendly interactive shell") (description --=20 2.12.2 --wral7qz4fqzdg4fo-- ------------=_1494078842-31045-1--