aboutsummaryrefslogtreecommitdiff
path: root/km-packages
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-07-24 20:58:42 -0400
committerKyle Meyer <kyle@kyleam.com>2020-07-24 20:58:58 -0400
commitaef9a86444f8163082341e05c341b9346e961db4 (patch)
tree93fefc9ba9d7d18b9a729193402776fc0f502e4a /km-packages
parent5d885ee2637f61a8dad9713dc551ed489f8286b9 (diff)
downloadguix-packages-aef9a86444f8163082341e05c341b9346e961db4.tar.gz
b4: Install manpages
Diffstat (limited to 'km-packages')
-rw-r--r--km-packages/misc.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/km-packages/misc.scm b/km-packages/misc.scm
index 161ad9c..8ea63b8 100644
--- a/km-packages/misc.scm
+++ b/km-packages/misc.scm
@@ -185,6 +185,17 @@
(base32
"1vwl6rzxqb6h5dsc9466vjn4ysy7xfdkizh8l0dql1bd6rvibbqn"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-manpages
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((man (string-append (assoc-ref outputs "out")
+ "/man/man5/")))
+ (mkdir-p man)
+ (for-each (lambda (file) (install-file file man))
+ (find-files "man")))
+ #t)))))
(inputs
`(("python-requests" ,python-requests)))
(home-page "https://git.kernel.org/pub/scm/utils/b4/b4.git")