gnu: fennel: Install manpage.

* gnu/packages/lua.scm (fennel)[arguments]: Add phase to install manpage.
This commit is contained in:
Efraim Flashner 2021-01-25 10:08:13 +02:00
parent 60021f2afa
commit 18a512528d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")