diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2018-09-21 03:23:26 -0500 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-21 10:23:26 +0200 |
commit | ba33eac477850892610148394ef38b8ea0d07da0 (patch) | |
tree | e88c130807ea6beed7c324aee9412ac3b7424291 /pkgs/tools | |
parent | a4e9ab65f6121fb5999bfe5a034c96099cc5d346 (diff) |
bat: install man page (#47099)
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/bat/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bat/default.nix b/pkgs/tools/misc/bat/default.nix index 01e720e5b8774..ec2062805ab12 100644 --- a/pkgs/tools/misc/bat/default.nix +++ b/pkgs/tools/misc/bat/default.nix @@ -20,6 +20,10 @@ rustPlatform.buildRustPackage rec { buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security libiconv ]; + postInstall = '' + install -m 444 -Dt $out/share/man/man1 doc/bat.1 + ''; + meta = with stdenv.lib; { description = "A cat(1) clone with syntax highlighting and Git integration"; homepage = https://github.com/sharkdp/bat; |