xh: install manpages, docs

This corresponds to what the upstream's deb package contains
This commit is contained in:
D Anzorge 2022-03-24 21:51:00 +01:00
parent ff3afa5eb8
commit eb7d3b1ddd

View File

@ -38,6 +38,11 @@ rustPlatform.buildRustPackage rec {
--fish completions/xh.fish \
--zsh completions/_xh
installManPage doc/xh.1
ln -s $out/share/man/man1/xh.1 $out/share/man/man1/xhs.1
install -m444 -Dt $out/share/doc/xh README.md CHANGELOG.md
# https://github.com/ducaale/xh#xh-and-xhs
ln -s $out/bin/xh $out/bin/xhs
'';