1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

add documentation of tarball-ttl to nix-channel

This commit is contained in:
Jade Lynn Masker 2025-05-31 17:50:46 -04:00
parent 587b5f5361
commit 6badd21b6a
No known key found for this signature in database
GPG key ID: 9B8135A24A75CB86

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**
>
> `--update` uses [fetchTarball](@docroot@/language/builtins.md#builtins-fetchTarball) under the hood, so it will cache channels.
> Use `--tarball-ttl` or the nix configuration option `tarball-ttl` to change this behavior.
- `--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