summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-10-19 11:47:30 +0200
committerLudovic Courtès <ludo@gnu.org>2022-10-20 23:07:37 +0200
commitc5d83bee93542427f7b680554bcf947d0ae6dae6 (patch)
treeb0a845c4e0c5995a0ef754ad4ec126ee42a67c9e /guix
parent00ff6f7c399670a76efffb91276dea2633cc130c (diff)
environment: Update docstring of 'launch-environment'.
This is a followup to 78d55b703d155d36520e1c93dc08a6502c56bd55. Reported by Maxim Cournoyer. * guix/scripts/environment.scm (launch-environment): Update docstring.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/environment.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index c53912ed54..56f05d1cc3 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -448,11 +448,11 @@ and suitable for 'exit'."
(define* (launch-environment command profile manifest
#:key pure? (white-list '())
emulate-fhs?)
- "Run COMMAND in a new environment containing INPUTS, using the native search
-paths defined by the list PATHS. When PURE?, pre-existing environment
-variables are cleared before setting the new ones, except those matching the
-regexps in WHITE-LIST. When EMULATE-FHS?, first set up an FHS environment
-with $PATH and generate the LD cache."
+ "Load the environment of PROFILE, which corresponds to MANIFEST, and execute
+COMMAND. When PURE?, pre-existing environment variables are cleared before
+setting the new ones, except those matching the regexps in WHITE-LIST. When
+EMULATE-FHS?, first set up an FHS environment with $PATH and generate the LD
+cache."
;; Properly handle SIGINT, so pressing C-c in an interactive terminal
;; application works.
(sigaction SIGINT SIG_DFL)