gnu: fish: Reference 'groff' to fix output of 'fish --help'.

* gnu/packages/shells.scm (fish)[inputs-inputs]: Add 'groff'.
[arguments]: Add 'nroff' substitution in 'embed-store-paths' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
ng0 2017-05-06 00:12:58 +00:00 committed by Ludovic Courtès
parent 5c4ea87224
commit 28a671ed23
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 0 deletions

View File

@ -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)
@ -116,6 +117,7 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).")
(inputs
`(("bc" ,bc)
("ncurses" ,ncurses)
("groff" ,groff) ;for 'fish --help'
("pcre2" ,pcre2) ;don't use the bundled PCRE2
("python" ,python-wrapper))) ;for fish_config and manpage completions
(arguments
@ -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