mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
environment: Update docstring of 'launch-environment'.
This is a followup to 78d55b703d
.
Reported by Maxim Cournoyer.
* guix/scripts/environment.scm (launch-environment): Update docstring.
This commit is contained in:
parent
00ff6f7c39
commit
c5d83bee93
1 changed files with 5 additions and 5 deletions
|
@ -448,11 +448,11 @@ (define primitive-exit/status (compose primitive-exit status->exit-code))
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue