aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/packages/garbage-collection.xml
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-14 01:33:16 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-14 01:33:16 +0100
commit6466d56f42aac8e3a4857ca22a9d5f70d8b7b7fe (patch)
tree8893faa31034982948b59454e4aa6c6b0b2c7138 /doc/manual/packages/garbage-collection.xml
parente90e7b5e0adb5f11f5679db7784b30d946ea6b2e (diff)
Bla
Diffstat (limited to 'doc/manual/packages/garbage-collection.xml')
-rw-r--r--doc/manual/packages/garbage-collection.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/manual/packages/garbage-collection.xml b/doc/manual/packages/garbage-collection.xml
index 05a06d6f4..03b8e4c97 100644
--- a/doc/manual/packages/garbage-collection.xml
+++ b/doc/manual/packages/garbage-collection.xml
@@ -37,7 +37,14 @@ generations, e.g.,
<screen>
$ nix-env --delete-generations 10 11 14</screen>
-</para>
+To delete all generations older than a specified number of days
+(except the current generation), use the <literal>d</literal>
+suffix. For example,
+
+<screen>
+$ nix-env --delete-generations 14d</screen>
+
+deletes all generations older than two weeks.</para>
<para>After removing appropriate old generations you can run the
garbage collector as follows: