aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store/help.txt
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-02-17 15:57:46 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-02-17 15:57:46 +0000
commite0181f56be2384b4ed93c0cacd5b2bbd13795dba (patch)
tree39ed9028f98087515bcd4f4cdaff8504a5724258 /src/nix-store/help.txt
parent74ab0695b5bec5c7239744a89df5b2a7112e916b (diff)
* `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).
Diffstat (limited to 'src/nix-store/help.txt')
-rw-r--r--src/nix-store/help.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix-store/help.txt b/src/nix-store/help.txt
index 5a5050e47..b7d71ec48 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):