guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/12: gnu: just: Install manpage.


From: guix-commits
Subject: 11/12: gnu: just: Install manpage.
Date: Thu, 28 Sep 2023 14:18:19 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 5b1897134877330e645ca572b93a50bb26ffb500
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 28 21:08:00 2023 +0300

    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 @@ bar.  It is also compatible with sway.")
                (("/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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]