diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-01-25 10:08:13 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-01-25 11:55:37 +0200 |
commit | 18a512528de2aa5de85eb32f0305692cbf85231f (patch) | |
tree | 7491476bd4ed8783f9f951b3f4b135c896bee70a | |
parent | 60021f2afaed1c2493017b8de43f13fcd909d48e (diff) | |
download | guix-18a512528de2aa5de85eb32f0305692cbf85231f.tar.gz |
gnu: fennel: Install manpage.
* gnu/packages/lua.scm (fennel)[arguments]: Add phase to install manpage.
-rw-r--r-- | gnu/packages/lua.scm | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ 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") |