mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
doc: '--inherit' option can be repeated.
* doc/guix.texi (Invoking guix environment): Mention that '--inherit' can be repeated.
This commit is contained in:
parent
8d2c3c54ee
commit
7af417502c
1 changed files with 2 additions and 1 deletions
|
@ -4462,7 +4462,8 @@ creating an environment in which search paths only contain package inputs.
|
|||
@item --inherit=@var{regexp}
|
||||
When used alongside @option{--pure}, inherit all the environment variables
|
||||
matching @var{regexp}---in other words, put them on a ``white list'' of
|
||||
environment variables that must be preserved.
|
||||
environment variables that must be preserved. This option can be repeated
|
||||
several times.
|
||||
|
||||
@example
|
||||
guix environment --pure --inherit=^SLURM --ad-hoc openmpi @dots{} \
|
||||
|
|
Loading…
Reference in a new issue