Skip to content

Commit 972915c

Browse files
committed
docs: remove incorrect claim re gc --print-dead
Per #7591, the `nix-store --gc --print-dead` command does not provide any feedback about the amount of disk space that is used by dead store paths. It looks like this has been the case since 7ab6896 (* Garbage collector: added an option `--use-atime' to delete paths in..., 2008-09-17). Update the nix-store documentation to remove the claim that this is function that `nix-store --gc --print-dead` performs.
1 parent dd0d006 commit 972915c

File tree

1 file changed

+1
-2
lines changed
  • doc/manual/source/command-ref/nix-store

1 file changed

+1
-2
lines changed

doc/manual/source/command-ref/nix-store/gc.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ The behaviour of the collector is also influenced by the
4848
configuration file.
4949

5050
By default, the collector prints the total number of freed bytes when it
51-
finishes (or when it is interrupted). With `--print-dead`, it prints the
52-
number of bytes that would be freed.
51+
finishes (or when it is interrupted).
5352

5453
{{#include ./opt-common.md}}
5554

0 commit comments

Comments
 (0)