From 78a9323c852487992bbbd8ed70ec2951a86b36a0 Mon Sep 17 00:00:00 2001 From: dantefromhell <90508808+dantefromhell@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:57:53 +0000 Subject: [PATCH] Add missing ripgrep to nix shell --- docs/nixos-with-flakes/other-useful-tips.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/nixos-with-flakes/other-useful-tips.md b/docs/nixos-with-flakes/other-useful-tips.md index 6b3ad1c..549af87 100644 --- a/docs/nixos-with-flakes/other-useful-tips.md +++ b/docs/nixos-with-flakes/other-useful-tips.md @@ -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. `/` to find the package you want to check. 1. `w` to show the package is depended by which packages, and the full dependency chain.