From e0181f56be2384b4ed93c0cacd5b2bbd13795dba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Feb 2005 15:57:46 +0000 Subject: * `nix-store -q --tree' shows a tree representing the dependency graph of the given derivation. Useful for getting a quick overview of how something was built. E.g., to find out how the `baffle' program in your user environment was built, you can do $ nix-store -q --tree $(nix-store -qd $(which baffle)) Tree nesting depth is minimised (?) by topologically sorting paths under the relation A < B iff A \in closure(B). --- src/nix-store/help.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nix-store/help.txt') diff --git a/src/nix-store/help.txt b/src/nix-store/help.txt index 5a5050e47b..b7d71ec482 100644 --- a/src/nix-store/help.txt +++ b/src/nix-store/help.txt @@ -30,7 +30,8 @@ Query flags: --references: print all paths referenced by the given path --referers: print all paths directly refering to the given path --referers-closure: print all paths (in)directly refering to the given path - --graph: print a dot graph rooted at given ids + --tree: print a tree showing the dependency graph of the given paths + --graph: print a dot graph rooted at given paths Query switches (not applicable to all queries): -- cgit 1.4.1