Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ripgrep: install man-page #23694

Merged
merged 1 commit into from Mar 12, 2017

Conversation

8573
Copy link
Contributor

@8573 8573 commented Mar 10, 2017

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

I have tested this commit per nixpkgs manual section 11.1 ("Making
patches").

cc @tailhook

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

I have tested this commit per nixpkgs manual section 11.1 ("Making
patches").
@mention-bot
Copy link

@8573, thanks for your PR! By analyzing the history of the files in this pull request, we identified @tailhook, @mimadrid and @tsaeger to be potential reviewers.

@tailhook
Copy link
Contributor

lgtm

@@ -15,6 +15,11 @@ buildRustPackage rec {

depsSha256 = "0q68qyl2h6i0qsz82z840myxlnjay8p1w5z7hfyr8fqp7wgwa9cx";

preFixup = ''
mkdir -p "$out/man/man1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be $out/share/man/man1?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fixed automatically.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noted that the fixup phase "moves the man/, doc/ and info/ subdirectories of $out to share/", and assumed that meant that $out/man is where the system wants me to put man-pages.

@Mic92 Mic92 merged commit 3a5912c into NixOS:master Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants