diff options
Diffstat (limited to 'lib/spack/docs/chain.rst')
-rw-r--r-- | lib/spack/docs/chain.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/spack/docs/chain.rst b/lib/spack/docs/chain.rst index e4a275df66..46300e6681 100644 --- a/lib/spack/docs/chain.rst +++ b/lib/spack/docs/chain.rst @@ -5,13 +5,14 @@ .. chain: -============================ -Chaining Spack Installations -============================ +============================================= +Chaining Spack Installations (upstreams.yaml) +============================================= 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, |