mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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:
parent
c390cec122
commit
161d73c163
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue