gnu: just: Install manpage.

* gnu/packages/rust-apps.scm (just)[arguments]: Add phase to install
manpage.
This commit is contained in:
Efraim Flashner 2023-09-28 21:08:00 +03:00
parent 970fb81c62
commit 5b18971348
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -801,7 +801,12 @@ (define-public just
(("/usr/bin/env")
(search-input-file inputs "/bin/env"))
(("/bin/echo")
(search-input-file inputs "/bin/echo"))))))))
(search-input-file inputs "/bin/echo")))))
(add-after 'install 'install-manpage
(lambda* (#:key outputs #:allow-other-keys)
(install-file "man/just.1"
(string-append (assoc-ref outputs "out")
"/share/man/man1")))))))
(home-page "https://github.com/casey/just")
(synopsis "Just a command runner")
(description "This package provides @code{just}, a command runner.