aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/nix-collect-garbage.md
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-06-15 22:29:03 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-06-21 20:05:41 -0400
commit5cc22e337023cee9cbffd3f9d2ff0eb3f18a4d12 (patch)
tree8b0deed760c1af6531e210b39dfcc1b370648a87 /doc/manual/src/command-ref/nix-collect-garbage.md
parent48fe0ed554e2708d136cbfc10ec0969a638d209e (diff)
Clarify docs on deleting generations, including fixing a mistake
Deleting store info corrected (there is a foot-gun in Nix with `--delete-generations old`!) Also a few things are cleaned up based on feedback. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Diffstat (limited to 'doc/manual/src/command-ref/nix-collect-garbage.md')
-rw-r--r--doc/manual/src/command-ref/nix-collect-garbage.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/src/command-ref/nix-collect-garbage.md b/doc/manual/src/command-ref/nix-collect-garbage.md
index a679ceaf7..3cab79f0e 100644
--- a/doc/manual/src/command-ref/nix-collect-garbage.md
+++ b/doc/manual/src/command-ref/nix-collect-garbage.md
@@ -57,7 +57,7 @@ These options are for deleting old [profiles] prior to deleting unreachable [sto
Delete all generations of profiles older than the specified amount (except for the generations that were active at that point in time).
*period* is a value such as `30d`, which would mean 30 days.
- This is the equivalent of invoking [`nix-env --delete-generations <period>`](@docroot@/command-ref/nix-env/delete-generations.md#generations-days) on each found profile.
+ This is the equivalent of invoking [`nix-env --delete-generations <period>`](@docroot@/command-ref/nix-env/delete-generations.md#generations-time) on each found profile.
See the documentation of that command for additional information about the *period* argument.
{{#include ./opt-common.md}}