From 5b1897134877330e645ca572b93a50bb26ffb500 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 28 Sep 2023 21:08:00 +0300 Subject: [PATCH] gnu: just: Install manpage. * gnu/packages/rust-apps.scm (just)[arguments]: Add phase to install manpage. --- gnu/packages/rust-apps.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index a18f7b31c7..7a5760a396 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -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.