1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

Merge pull request #13611 from NixOS/mergify/bp/2.28-maintenance/pr-13305

add documentation of tarball-ttl to nix-channel (backport #13305)
This commit is contained in:
mergify[bot] 2025-07-31 02:59:37 +00:00 committed by GitHub
commit 5bd259b311
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,6 +53,11 @@ This command has the following operations:
Download the Nix expressions of subscribed channels and create a new generation. Download the Nix expressions of subscribed channels and create a new generation.
Update all channels if none is specified, and only those included in *names* otherwise. Update all channels if none is specified, and only those included in *names* otherwise.
> **Note**
>
> Downloaded channel contents are cached.
> Use `--tarball-ttl` or the [`tarball-ttl` configuration option](@docroot@/command-ref/conf-file.md#conf-tarball-ttl) to change the validity period of cached downloads.
- `--list-generations` - `--list-generations`
Prints a list of all the current existing generations for the Prints a list of all the current existing generations for the