git.iko.soy/typeable/nixpkgs
on master help sign in
xh: install manpages, docs

This corresponds to what the upstream's deb package contains

commiteb7d3b1ddd0f66b508747615df1251b5add43435 authorD Anzorge <d.anzorge@gmail.com> dateThu 24 Mar 2022, 21:51 (5 years ago) parentff3afa5
1 file changed+5
pkgs/tools/networking/xh/default.nix+5
pkgs/tools/networking/xh/default.nix+5
@@ -38,6 +38,11 @@ rustPlatform.buildRustPackage rec {
3838 --fish completions/xh.fish \
3939 --zsh completions/_xh
4040
41+ installManPage doc/xh.1
42+ ln -s $out/share/man/man1/xh.1 $out/share/man/man1/xhs.1
43+
44+ install -m444 -Dt $out/share/doc/xh README.md CHANGELOG.md
45+
4146 # https://github.com/ducaale/xh#xh-and-xhs
4247 ln -s $out/bin/xh $out/bin/xhs
4348 '';