From 89fd428fd15536bddbbcd75074336698fc4d89db Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sat, 1 Jun 2024 19:33:36 +0200 Subject: [PATCH] Add help-closure to shell.nix --- shell.nix | 5 +++++ 1 file changed, 5 insertions(+) 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 ))'"; + } ]; }