guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: 02/03: gnu: fish: Reference 'groff' to fix output of 'fish --help'.
Date: Sat, 6 May 2017 10:06:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 28a671ed23f82ce7966c04e988a276b38dd8c1e0
Author: ng0 <address@hidden>
Date:   Sat May 6 00:12:58 2017 +0000

    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 <address@hidden>
---
 gnu/packages/shells.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index d87d58e..4e684e8 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)
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]