summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2022-03-27 01:27:47 +0200
committerGitHub <noreply@github.com>2022-03-27 01:27:47 +0200
commit6de161729c81dc98e844793cc9c8fda29d5ef62a (patch)
tree943a804d7139094b680cc18e3ecae98e6dbe33e7
parentd4ac7d201d4c7f0c8e269da06b308edbeaccc017 (diff)
parenteb7d3b1ddd0f66b508747615df1251b5add43435 (diff)
downloadnixpkgs-6de161729c81dc98e844793cc9c8fda29d5ef62a.tar
nixpkgs-6de161729c81dc98e844793cc9c8fda29d5ef62a.tar.gz
nixpkgs-6de161729c81dc98e844793cc9c8fda29d5ef62a.tar.bz2
nixpkgs-6de161729c81dc98e844793cc9c8fda29d5ef62a.tar.lz
nixpkgs-6de161729c81dc98e844793cc9c8fda29d5ef62a.tar.xz
nixpkgs-6de161729c81dc98e844793cc9c8fda29d5ef62a.tar.zst
nixpkgs-6de161729c81dc98e844793cc9c8fda29d5ef62a.zip
Merge pull request #165696 from DeeUnderscore/misc/xh-man
-rw-r--r--pkgs/tools/networking/xh/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/networking/xh/default.nix b/pkgs/tools/networking/xh/default.nix
index 2a5708c8d05..13f470c327a 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
   '';