diff options
author | Matthew Scott Krafczyk <krafczyk.matthew@gmail.com> | 2017-08-21 20:35:00 -0500 |
---|---|---|
committer | scheibelp <scheibel1@llnl.gov> | 2017-08-21 18:35:00 -0700 |
commit | 48bf1e276bde45acab0d7c78cf2740907b5afce8 (patch) | |
tree | 90b89dc683f9aba05be0900df91afcbef7abf100 /lib/spack/docs/config_yaml.rst | |
parent | e0ebf44239e5b0470b64ce1fbde860079c772748 (diff) | |
download | spack-48bf1e276bde45acab0d7c78cf2740907b5afce8.tar.gz spack-48bf1e276bde45acab0d7c78cf2740907b5afce8.tar.bz2 spack-48bf1e276bde45acab0d7c78cf2740907b5afce8.tar.xz spack-48bf1e276bde45acab0d7c78cf2740907b5afce8.zip |
Add environment variables to path substitution
Update documentation on config file variable substitutions and
add expansion of environment variables in config files.
Diffstat (limited to 'lib/spack/docs/config_yaml.rst')
-rw-r--r-- | lib/spack/docs/config_yaml.rst | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/spack/docs/config_yaml.rst b/lib/spack/docs/config_yaml.rst index 1c51db1b96..da760f05e3 100644 --- a/lib/spack/docs/config_yaml.rst +++ b/lib/spack/docs/config_yaml.rst @@ -14,27 +14,6 @@ see the default settings by looking at These settings can be overridden in ``etc/spack/config.yaml`` or ``~/.spack/config.yaml``. See :ref:`configuration-scopes` for details. -.. _config-file-variables: - ------------------------------- -Config file variables ------------------------------- - -You may notice some variables prefixed with ``$`` in the settings above. -Spack understands several variables that can be used in values of -configuration parameters. They are: - - * ``$spack``: path to the prefix of this spack installation - * ``$tempdir``: default system temporary directory (as specified in - Python's `tempfile.tempdir - <https://docs.python.org/2/library/tempfile.html#tempfile.tempdir>`_ - variable. - * ``$user``: name of the current user - -Note that, as with shell variables, you can write these as ``$varname`` -or with braces to distinguish the variable from surrounding characters: -``${varname}``. - -------------------- ``install_tree`` -------------------- |