[PATCH] doc: Document --profile option to "guix environment"

  • Done
  • quality assurance status badge
Details
2 participants
  • Konrad Hinsen
  • Ludovic Courtès
Owner
unassigned
Submitted by
Konrad Hinsen
Severity
normal
K
K
Konrad Hinsen wrote on 28 Jan 2022 19:10
(address . guix-patches@gnu.org)
m1mtjfhgu4.fsf@fastmail.net
* doc/guix.texi (Invoking guix environment): New paragraph.
---
doc/guix.texi | 6 ++++++
1 file changed, 6 insertions(+)

Toggle diff (19 lines)
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
--
2.34.0
L
L
Ludovic Courtès wrote on 31 Jan 2022 23:49
(name . Konrad Hinsen)(address . konrad.hinsen@fastmail.net)(address . 53611-done@debbugs.gnu.org)
87r18n8qrg.fsf@gnu.org
Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

Toggle quote (2 lines)
> * doc/guix.texi (Invoking guix environment): New paragraph.

Applied as well, thanks!
Closed
?