aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Hinsen <konrad.hinsen@fastmail.net>2022-01-28 19:10:11 +0100
committerLudovic Courtès <ludo@gnu.org>2022-02-01 00:24:26 +0100
commitc328d7fca1e42041caa38f71fb544a1171d90695 (patch)
tree1d1b43924cce0ee2b9fb897dff922b05cd6f3da3
parentcff54cc47ce431802722ce12182c40f9e4334cee (diff)
downloadguix-c328d7fca1e42041caa38f71fb544a1171d90695.tar
guix-c328d7fca1e42041caa38f71fb544a1171d90695.tar.gz
doc: Document --profile option to "guix environment"
* doc/guix.texi (Invoking guix environment): New paragraph. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--doc/guix.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 8cc0c45e05..8ee553e257 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6237,6 +6237,12 @@ interpreted as packages whose dependencies will be added to the
environment, the default behavior. Packages appearing after are
interpreted as packages that will be added to the environment directly.
+@item --profile=@var{profile}
+@itemx -p @var{profile}
+Create an environment containing the packages installed in @var{profile}.
+Use @command{guix package} (@pxref{Invoking guix package}) to create
+and manage profiles.
+
@item --pure
Unset existing environment variables when building the new environment, except
those specified with @option{--preserve} (see below). This has the effect of