civodul pushed a commit to tag 1.8
in repository guix.
commit 6466d56f42aac8e3a4857ca22a9d5f70d8b7b7fe
Author: Eelco Dolstra <[email protected]>
Date: Sun Dec 14 01:33:16 2014 +0100
Bla
---
doc/manual/packages/garbage-collection.xml | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/doc/manual/packages/garbage-collection.xml
b/doc/manual/packages/garbage-collection.xml
index 05a06d6..03b8e4c 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: