diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-23 17:23:13 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:29 +0200 |
commit | edea52e2fe6cfc47ff8811cd611feefa1ae4a233 (patch) | |
tree | bed1aab2cad4d6f2bc777caa90cdd1d50750d546 /gnu/packages | |
parent | ed8af9ad1fe6b3e283817f81364feb0f8d1d14dc (diff) | |
download | guix-edea52e2fe6cfc47ff8811cd611feefa1ae4a233.tar.gz |
gnu: hex: Install manpage.
* gnu/packages/rust-apps.scm (hex)[arguments]: Add a phase to install the included manpage. Change-Id: I976ff6a8cc1b6cb16d84373be361f5d6c6781a74
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/rust-apps.scm | 8 |
1 files changed, 7 insertions, 1 deletions
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 |