From eb7d3b1ddd0f66b508747615df1251b5add43435 Mon Sep 17 00:00:00 2001 From: D Anzorge Date: Thu, 24 Mar 2022 21:51:00 +0100 Subject: [PATCH] xh: install manpages, docs This corresponds to what the upstream's deb package contains --- pkgs/tools/networking/xh/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/networking/xh/default.nix b/pkgs/tools/networking/xh/default.nix index 2a5708c8d0520..13f470c327a00 100644 --- a/pkgs/tools/networking/xh/default.nix +++ b/pkgs/tools/networking/xh/default.nix @@ -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 '';