summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2026-08-06 10:11:30 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2026-08-07 10:26:47 +0900
commit265e481036cd66aee0c0be64f884f306aefc4f41 (patch)
treeee737f87075c905ceb451cd2f3eeea582685d685 /doc
parent38107ca6bbdd9b95ee9dd6a0f05dd65e95870e0b (diff)
doc: Fix -E option example of `guix shell'.
The TERM variable had been changed to OMP_NUM_THREADS in the example, but the text hadn't been adjusted. * doc/guix.texi (Invoking guix shell): Replace TERM with OMP_NUM_THREADS, as well as its associated value (from "no-color" to "16").
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index dccc1fc9f76..99cef6fce3c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6847,10 +6847,11 @@ guix shell --pure --preserve=^SLURM -E OMP_NUM_THREADS=16 openmpi @dots{} \
6847 -- mpirun @dots{} 6847 -- mpirun @dots{}
6848@end example 6848@end example
6849 6849
6850This example runs @command{mpirun} in a context where the only environment 6850This example runs @command{mpirun} in a context where the only
6851variables defined are @env{PATH}, environment variables whose name starts 6851environment variables defined are @env{PATH}, environment variables
6852with @samp{SLURM}, variable @env{TERM} set to @samp{no=color}, as well as 6852whose name starts with @samp{SLURM}, variable @env{OMP_NUM_THREADS} set
6853the usual ``precious'' variables (@env{HOME}, @env{USER}, etc.). 6853to @samp{16}, as well as the usual ``precious'' variables (@env{HOME},
6854@env{USER}, etc.).
6854 6855
6855@item --search-paths 6856@item --search-paths
6856Display the environment variable definitions that make up the 6857Display the environment variable definitions that make up the