diff options
author | Maxime Devos <[email protected]> | 2021-07-02 12:13:07 +0200 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2024-08-31 10:42:43 +0200 |
commit | 8a5fa92fd6f8e3fea5b41ec5b76b5bdcb922e96b (patch) | |
tree | cd5c5727360951b672247cdd4976ab11204f5430 /gnu | |
parent | aea782866980a5755bba45459c92c97d5ffbd8fd (diff) |
gnu: groff: Add 'bash' input for 'wrap-program'.
It is required for cross-compilation.
* gnu/packages/groff.scm (roffit): Remove trailing #t
[native-inputs]: Remove labels.
[inputs]: Add 'bash-minimal'.
(ronn-ng)[inputs]: Add 'bash-minimal'.
Signed-off-by: Maxim Cournoyer <[email protected]>
Modified-by: Maxim Cournoyer <[email protected]>
Change-Id: I6ffaf53d1389c49b96c964447989b9db45d6b509
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/groff.scm | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm index 94c0f23d7a..d4e1bc2127 100644 --- a/gnu/packages/groff.scm +++ b/gnu/packages/groff.scm @@ -34,6 +34,7 @@ #:use-module (guix build-system ruby) #:use-module (guix gexp) #:use-module (gnu packages) + #:use-module (gnu packages bash) #:use-module (gnu packages ruby) #:use-module (gnu packages bison) #:use-module (gnu packages flex) @@ -199,17 +200,15 @@ is usually the formatter of \"man\" documentation pages.") (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (install-file "roffit" (string-append out "/bin")) - (install-file "roffit.1" (string-append out "/share/man/man1")) - #t))) + (install-file "roffit.1" + (string-append out "/share/man/man1"))))) (add-after 'install 'wrap-program (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (wrap-program (string-append out "/bin/roffit") - `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))) - #t)))))) - (native-inputs `(("html-tree" ,perl-html-tree))) ; for test - (inputs - (list perl)) + `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))) + (native-inputs (list perl-html-tree)) ; for test + (inputs (list bash-minimal perl)) (home-page "https://daniel.haxx.se/projects/roffit/") (synopsis "Convert nroff files to HTML") (description @@ -258,7 +257,7 @@ It is typically used to display man pages on a web site.") "ruby-mustache" "ruby-nokogiri")))))))))) (inputs - (list ruby-kramdown ruby-mustache ruby-nokogiri)) + (list bash-minimal ruby-kramdown ruby-mustache ruby-nokogiri)) (synopsis "Build manuals in HTML and Unix man page format from Markdown") (description |