aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2018-02-15 20:54:28 -0500
committerDavid Thompson <dthompson2@worcester.edu>2018-02-21 22:16:38 -0500
commit267379f852f9d6d00c76120963711d54357ba53d (patch)
treed50040e19049c99d9d0c799183384cb3ec4abc3a /doc
parentea6b1baec7515ec941f35c186ab314ec1c844250 (diff)
downloadpatches-267379f852f9d6d00c76120963711d54357ba53d.tar
patches-267379f852f9d6d00c76120963711d54357ba53d.tar.gz
environment: Add --manifest option.
* guix/scripts/environment.scm (show-help, %options): Add -m/--manifest. (options/resolve-packages): Handle manifests. * tests/guix-envronment.sh: Add a test. * doc/guix.texi (Invoking guix environment): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index ee70994585..fb2834942b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7231,6 +7231,15 @@ As an example, @var{file} might contain a definition like this
@verbatiminclude environment-gdb.scm
@end example
+@item --manifest=@var{file}
+@itemx -m @var{file}
+Create an environment for the packages contained in the manifest object
+returned by the Scheme code in @var{file}.
+
+This is similar to the same-named option in @command{guix package}
+(@pxref{profile-manifest, @option{--manifest}}) and uses the same
+manifest files.
+
@item --ad-hoc
Include all specified packages in the resulting environment, as if an
@i{ad hoc} package were defined with them as inputs. This option is