From 18a512528de2aa5de85eb32f0305692cbf85231f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 25 Jan 2021 10:08:13 +0200 Subject: gnu: fennel: Install manpage. * gnu/packages/lua.scm (fennel)[arguments]: Add phase to install manpage. --- gnu/packages/lua.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/lua.scm') diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index e4b3818faa..0100ed2dd3 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -1094,7 +1094,13 @@ (define-public fennel #t)) (delete 'check) (add-after 'install 'check - (assoc-ref %standard-phases 'check))))) + (assoc-ref %standard-phases 'check)) + (add-after 'install 'install-manpage + (lambda* (#:key outputs #:allow-other-keys) + (install-file "fennel.1" + (string-append (assoc-ref outputs "out") + "/share/man/man1")) + #t))))) (inputs `(("lua" ,lua))) (home-page "https://fennel-lang.org/") (synopsis "Lisp that compiles to Lua") -- cgit v1.2.3