[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: doc: Explain how to exit and clean up a Guix envi
From: |
guix-commits |
Subject: |
branch master updated: doc: Explain how to exit and clean up a Guix environment. |
Date: |
Mon, 15 Feb 2021 06:06:56 -0500 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 2b529a3 doc: Explain how to exit and clean up a Guix environment.
2b529a3 is described below
commit 2b529a376a7fd839c00fc6b9053df685d4f644d2
Author: Lee <inbox@leefallat.ca>
AuthorDate: Fri Feb 12 16:44:56 2021 -0500
doc: Explain how to exit and clean up a Guix environment.
* doc/guix.texi (Invoking guix environment): Explain how to exit and clean
up
a Guix environment.
The current documentation doesn't explain how to exit an environment or how
to
remove the packages after exiting.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
doc/guix.texi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index 68abb96..d1c6acd 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5558,6 +5558,12 @@ they should be defined in @file{.bash_profile}, which is
sourced only by
log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference
Manual}, for details on Bash start-up files.}.
+Exiting from a Guix environment is the same as exiting from the shell,
+and will place the user back in the old environment before @command{guix
+environment} was invoked. The next garbage collection (@pxref{Invoking
+guix gc}) will clean up packages that were installed from within the
+environment and are no longer used outside of it.
+
@vindex GUIX_ENVIRONMENT
@command{guix environment} defines the @env{GUIX_ENVIRONMENT}
variable in the shell it spawns; its value is the file name of the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: doc: Explain how to exit and clean up a Guix environment.,
guix-commits <=