From d3813b9931fa94f0fc47c749e606823d95b50952 Mon Sep 17 00:00:00 2001 From: Nuno Nobre Date: Mon, 26 Oct 2026 18:55:58 +0000 Subject: [PATCH] Update configuration scopes in the configuration tutorial Signed-off-by: Nuno Nobre --- tutorial_configuration.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tutorial_configuration.rst b/tutorial_configuration.rst index 42b4d74eb..104237844 100644 --- a/tutorial_configuration.rst +++ b/tutorial_configuration.rst @@ -89,8 +89,8 @@ Configuration Scopes -------------------- Depending on your use case, you may want to provide configuration settings common to everyone on your team, or you may want to set default behaviors specific to a single user account. -Spack provides seven configuration *scopes* to handle this customization. -These scopes, in order of decreasing priority, are: +Spack provides several configuration *scopes* to handle this customization. +These scopes, in order of decreasing priority, include: ============ =================================================== Scope Directory @@ -98,13 +98,14 @@ Scope Directory Command Line N/A Environment In environment base directory (in ``spack.yaml``) Custom Custom directory, specified with ``--config-scope`` +Spack ``$SPACK_ROOT/etc/spack/`` User ``~/.spack/`` -Site ``$SPACK_ROOT/etc/spack/`` +Site ``$SPACK_ROOT/etc/spack/site`` System ``/etc/spack/`` Defaults ``$SPACK_ROOT/etc/spack/defaults/`` ============ =================================================== -Spack's default configuration settings reside in ``$SPACK_ROOT/etc/spack/defaults``. +Spack's default configuration settings reside in ``$SPACK_ROOT/etc/spack/defaults``, including platform-specific and base subdirectories/subscopes. These are useful for reference, but should never be directly edited. To override these settings, create new configuration files in any of the higher-priority configuration scopes.