Skip to content

docs: fix nixpkgs link #3053

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

docs: fix nixpkgs link #3053

wants to merge 1 commit into from

Conversation

nyurik
Copy link

@nyurik nyurik commented May 22, 2025

At least I hope this is the right one

At least I hope this is the right one
Copy link

@RossSmyth RossSmyth left a comment

Choose a reason for hiding this comment

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

Linking to the source file is sort of meaningless. It would be best to link to something like
https://search.nixos.org/packages?channel=unstable&show=ripgrep&from=0&size=50&sort=relevance&type=packages&query=ripgrep

Comment on lines 317 to 318
```
$ nix-env --install ripgrep

Choose a reason for hiding this comment

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

nix-env is not really recommended these days because it modifies global state. Either:

Suggested change
```
$ nix-env --install ripgrep
Add this to your NixOS or Home-Manager config.
```nix
environment.systemPackages = [
pkgs.ripgrep
];

or

Suggested change
```
$ nix-env --install ripgrep
To temporarily add it to your `$PATH`
```bash
$ nix-shell -p ripgrep

Choose a reason for hiding this comment

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

Just commenting to support that this recommendation is more modern and agreed upon than nix-env. I would prefer to see these suggestions go in.

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.

3 participants