Mention that tarball-ttl affects global flake registry

This updates the documentation for `tarball-ttl` to mention that global
flake registry references (e.g. `nixpkgs#hello`) respect the
`tarball-ttl` setting when determining whether to lock the reference
again.
This commit is contained in:
Gabriella Gonzalez 2023-06-21 12:03:58 -07:00
parent 3c618c43c6
commit f11d2f106b

View File

@ -629,6 +629,11 @@ public:
Files fetched via `NIX_PATH`, `fetchGit`, `fetchMercurial`,
`fetchTarball`, and `fetchurl` respect this TTL.
This option also affects how often the global flake registry is
updated. For example, a flake URI like `nixpkgs#hello` will trigger
a new download of Nixpkgs if the last download is older than the
`tarball-ttl`.
)"};
Setting<bool> requireSigs{