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 --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 -- 2.12.2