summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-30 17:42:35 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-01 23:29:49 +0200
commitce367ef3a9031e3211d616630ff01c8a6128db96 (patch)
treebdb7af923ad304395a701faf5b38adc49f8dd755 /doc
parent6b6298ae39bfe185ce1ab18bb3d641ddfad17c8f (diff)
downloadguix-ce367ef3a9031e3211d616630ff01c8a6128db96.tar.gz
environment: Add --system.
* guix/scripts/environment.scm (show-help, %options): Add -s/--system.
  (%default-options): Add 'system' pair.
  (guix-environment): Pass 'system' value from OPTS to 'lower-inputs'.
* doc/guix.texi (Invoking guix environment): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index ccccf7b347..71167dfdc7 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4219,6 +4219,10 @@ only contain package inputs.
 @item --search-paths
 Display the environment variable definitions that make up the
 environment.
+
+@item --system=@var{system}
+@itemx -s @var{system}
+Attempt to build for @var{system}---e.g., @code{i686-linux}.
 @end table
 
 It also supports all of the common build options that @command{guix