3
0
Fork 0
forked from mirrors/nixpkgs

ripgrep: install man-page

Modify the `ripgrep` package to install the tool's manual page.

I have tested this commit per nixpkgs manual section 11.1 ("Making
patches").
This commit is contained in:
c74d 2017-03-10 07:12:16 +00:00
parent c390cec122
commit 161d73c163

View file

@ -15,6 +15,11 @@ buildRustPackage rec {
depsSha256 = "0q68qyl2h6i0qsz82z840myxlnjay8p1w5z7hfyr8fqp7wgwa9cx";
preFixup = ''
mkdir -p "$out/man/man1"
cp "$src/doc/rg.1" "$out/man/man1"
'';
meta = with stdenv.lib; {
description = "A utility that combines the usability of The Silver Searcher with the raw speed of grep";
homepage = https://github.com/BurntSushi/ripgrep;