diff --git a/shell.nix b/shell.nix index 358a9c4a..56a59fb2 100644 --- a/shell.nix +++ b/shell.nix @@ -136,5 +136,10 @@ pkgs.devshell.mkShell { help = "Display the wanted dynamic libraries by a binary"; command = "echo 'ldd (readlink -f (which ))'"; } + { + name = "help-closure"; + help = "Display the closure of a package"; + command = "echo 'nix path-info --recursive --size --closure-size --human-readable (readlink -f (which ))'"; + } ]; }