* `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).
This commit is contained in:
parent
74ab0695b5
commit
e0181f56be
2 changed files with 87 additions and 2 deletions
|
|
@ -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):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue