summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-16 21:38:23 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-16 23:00:44 +0200
commitebbfc59c21d9888d43f36d8f23862030ebaaacce (patch)
treee316e2d5e45f2fd72b8a907ec480b7e6be3d08a5 /doc
parent5edef88b8873ad73ceb74c8801487fc16d64965c (diff)
downloadpatches-ebbfc59c21d9888d43f36d8f23862030ebaaacce.tar
patches-ebbfc59c21d9888d43f36d8f23862030ebaaacce.tar.gz
graph: Add '--system'.
* guix/scripts/graph.scm (%options, show-help): Add '--system'. (%default-options): Add 'system'. (guix-graph): Pass #:system to 'run-with-store'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index cccf166d03..9a19eb89cd 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7711,6 +7711,13 @@ This is useful to precisely refer to a package, as in this example:
@example
guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'
@end example
+
+@item --system=@var{system}
+@itemx -s @var{system}
+Display the graph for @var{system}---e.g., @code{i686-linux}.
+
+The package dependency graph is largely architecture-independent, but there
+are some architecture-dependent bits that this option allows you to visualize.
@end table