From 6badd21b6a22c6037a5152463343491e770a581d Mon Sep 17 00:00:00 2001 From: Jade Lynn Masker Date: Sat, 31 May 2025 17:50:46 -0400 Subject: [PATCH] add documentation of tarball-ttl to nix-channel --- doc/manual/source/command-ref/nix-channel.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/manual/source/command-ref/nix-channel.md b/doc/manual/source/command-ref/nix-channel.md index 8b58392b7..4a7555c90 100644 --- a/doc/manual/source/command-ref/nix-channel.md +++ b/doc/manual/source/command-ref/nix-channel.md @@ -53,6 +53,11 @@ This command has the following operations: 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. + > **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` Prints a list of all the current existing generations for the