guix-commits
[Top][All Lists]
Advanced

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

12/12: gnu: hex: Install manpage.


From: guix-commits
Subject: 12/12: gnu: hex: Install manpage.
Date: Tue, 23 Jan 2024 10:47:56 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 3122d2c8d6a764978ba09fdbc1db960be3b1bddd
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jan 23 17:23:13 2024 +0200

    gnu: hex: Install manpage.
    
    * gnu/packages/rust-apps.scm (hex)[arguments]: Add a phase to install
    the included manpage.
    
    Change-Id: I976ff6a8cc1b6cb16d84373be361f5d6c6781a74
---
 gnu/packages/rust-apps.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 9fee03f88c..ae99790d92 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1838,7 +1838,13 @@ revert and check changes.
         ("rust-clap" ,rust-clap-4)
         ("rust-no-color" ,rust-no-color-0.1))
        #:cargo-development-inputs
-       (("rust-assert-cmd" ,rust-assert-cmd-2))))
+       (("rust-assert-cmd" ,rust-assert-cmd-2))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-more
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (install-file "hx.1" (string-append out 
"/share/man/man1"))))))))
     (home-page "https://github.com/sitkevij/hex";)
     (synopsis "Hexadecimal colorized view of a file")
     (description



reply via email to

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