mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-28 11:04:09 +01:00
Add missing ripgrep to nix shell
This commit is contained in:
parent
d674b6e8d7
commit
78a9323c85
@ -76,7 +76,7 @@ sudo nix store gc --debug
|
|||||||
|
|
||||||
To find out why a package is installed, you can use the following command:
|
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. ` 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. `/<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.
|
1. `w` to show the package is depended by which packages, and the full dependency chain.
|
||||||
|
Loading…
Reference in New Issue
Block a user