[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: fennel: Install manpage.
From: |
guix-commits |
Subject: |
01/03: gnu: fennel: Install manpage. |
Date: |
Mon, 25 Jan 2021 05:56:15 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 18a512528de2aa5de85eb32f0305692cbf85231f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jan 25 10:08:13 2021 +0200
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(-)
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index e4b3818..0100ed2 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1094,7 +1094,13 @@ shell command executions.")
#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")