Merge pull request #102 from dantefromhell/patch-1

Add missing ripgrep to nix shell
This commit is contained in:
Ryan Yin 2024-03-05 21:19:37 +08:00 committed by GitHub
commit fed4d5e388
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,7 @@ sudo nix store gc --debug
To find out why a package is installed, you can use the following command:
1. Enter a shell with `nix-tree` available: `nix shell nixpkgs#nix-tree`
1. Enter a shell with `nix-tree` available: `nix shell nixpkgs#nix-tree nixpkgs#ripgrep`
1. ` nix-store --gc --print-roots | rg -v '/proc/' | rg -Po '(?<= -> ).*' | xargs -o nix-tree`
1. `/<package-name>` to find the package you want to check.
1. `w` to show the package is depended by which packages, and the full dependency chain.