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

View file

@ -31,6 +31,7 @@ (define-module (gnu packages shells)
#: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 @@ (define-public fish
(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 @@ (define-public fish
"/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