You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file is not part of the [system configuration](cluster-config.md): mirror locations are usually specific to the person running the build, so each invocation provides its own.
11
+
Paths inside the file (such as relative gpg key paths) are resolved relative to the directory containing the `mirrors.yaml`, so a self-contained mirror directory (the `mirrors.yaml` plus its keys) can be moved around freely.
5
12
6
13
A `mirrors.yaml` can describe four kinds of entry, each optional and each documented below:
An optional `mirrors.yaml` connects Spack to local mirrors and caches, to speed up builds and to build on air-gapped systems.
99
-
It can configure a build cache, a bootstrap mirror, read-only source mirrors, and a writable source cache.
98
+
Mirrors and caches are **not** part of the system configuration.
99
+
They are supplied per-invocation with `stack-config --mirror <file>`, because the locations involved (build caches, source caches) are often specific to the user running the build and may not be accessible to everyone using a system.
100
100
101
101
See [Mirrors and Build Caches](build-caches.md) for the full reference and examples.
0 commit comments