summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormSamiolo <mattia.sami@hotmail.it>2024-05-23 00:04:53 +0200
committerGitHub <noreply@github.com>2024-05-22 22:04:53 +0000
commitb9816a97fc992c2a4171e0573ec5ba8f06fefc93 (patch)
treed8078c7a71d954db5f34476579b650c5ceab8ad2 /lib
parentf7b9c30456f7cfe7dd7ef9570489c8a6e5661166 (diff)
downloadspack-b9816a97fc992c2a4171e0573ec5ba8f06fefc93.tar.gz
spack-b9816a97fc992c2a4171e0573ec5ba8f06fefc93.tar.bz2
spack-b9816a97fc992c2a4171e0573ec5ba8f06fefc93.tar.xz
spack-b9816a97fc992c2a4171e0573ec5ba8f06fefc93.zip
docs: update chain.rst to improve discussion of upstreams (#43918)
* Update chain.rst * Update lib/spack/docs/chain.rst Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> * Update lib/spack/docs/chain.rst Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> * docs: rm leading spaces to avoid indent --------- Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/chain.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/spack/docs/chain.rst b/lib/spack/docs/chain.rst
index e4a275df66..bd0241c8bb 100644
--- a/lib/spack/docs/chain.rst
+++ b/lib/spack/docs/chain.rst
@@ -11,7 +11,8 @@ Chaining Spack Installations
You can point your Spack installation to another installation to use any
packages that are installed there. To register the other Spack instance,
-you can add it as an entry to ``upstreams.yaml``:
+you can add it as an entry to ``upstreams.yaml`` at any of the
+:ref:`configuration-scopes`:
.. code-block:: yaml
@@ -22,7 +23,8 @@ you can add it as an entry to ``upstreams.yaml``:
install_tree: /path/to/another/spack/opt/spack
``install_tree`` must point to the ``opt/spack`` directory inside of the
-Spack base directory.
+Spack base directory, or the location of the ``install_tree`` defined
+in :ref:`config.yaml <config-yaml>`.
Once the upstream Spack instance has been added, ``spack find`` will
automatically check the upstream instance when querying installed packages,