diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2020-11-17 15:24:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 15:24:00 -0800 |
commit | c9ad2affcc82c861bc1e191899a4a73a5f86975e (patch) | |
tree | 64bfd69aed15858d26b831b7fd23bf9ba5c4ff47 /lib/spack/docs/environments.rst | |
parent | d65f078f66361be7fc6cec72bc92d7034533b33c (diff) | |
download | spack-c9ad2affcc82c861bc1e191899a4a73a5f86975e.tar.gz spack-c9ad2affcc82c861bc1e191899a4a73a5f86975e.tar.bz2 spack-c9ad2affcc82c861bc1e191899a4a73a5f86975e.tar.xz spack-c9ad2affcc82c861bc1e191899a4a73a5f86975e.zip |
Documentation: spack load/environments prefix inspections (#19961)
As of #18260, `spack load` and `spack env activate` now use
`prefix_inspections` from the modules configuration to decide
how to modify environment variables.
This updates the modules configuration documentation to describe
how to update environment variables with the `prefix_inspections`
section. This also updates the `spack load` and environments
documentation to refer to the new `prefix_inspections` documentation.
Diffstat (limited to 'lib/spack/docs/environments.rst')
-rw-r--r-- | lib/spack/docs/environments.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/spack/docs/environments.rst b/lib/spack/docs/environments.rst index 65eec36581..1710ec6b5a 100644 --- a/lib/spack/docs/environments.rst +++ b/lib/spack/docs/environments.rst @@ -815,8 +815,10 @@ environment for Spack commands. The arguments ``-v,--with-view`` and behavior is to activate with the environment view if there is one. The environment variables affected by the ``spack env activate`` -command and the paths that are used to update them are in the -following table. +command and the paths that are used to update them are determined by +the :ref:`prefix inspections <customize-env-modifications>` defined in +your modules configuration; the defaults are summarized in the following +table. =================== ========= Variable Paths |