diff mbox series

[bug#53611] doc: Document --profile option to "guix environment"

Message ID m1mtjfhgu4.fsf@fastmail.net
State Accepted
Headers show
Series [bug#53611] doc: Document --profile option to "guix environment" | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Konrad Hinsen Jan. 28, 2022, 6:10 p.m. UTC
* doc/guix.texi (Invoking guix environment): New paragraph.
---
 doc/guix.texi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Ludovic Courtès Jan. 31, 2022, 10:49 p.m. UTC | #1
Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

> * doc/guix.texi (Invoking guix environment): New paragraph.

Applied as well, thanks!
diff mbox series

Patch

diff --git a/doc/guix.texi b/doc/guix.texi
index 92f515df8f..7243870e81 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