mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
only delete things older than current gen and update logic in doc as
well
This commit is contained in:
parent
3c16044cb0
commit
467fdd8ca4
2 changed files with 14 additions and 9 deletions
|
@ -1349,9 +1349,9 @@ special value <literal>old</literal> to delete all non-current
|
|||
generations, a value such as <literal>30d</literal> to delete all
|
||||
generations older than the specified number of days (except for the
|
||||
generation that was active at that point in time), or a value such as.
|
||||
<literal>+5</literal> to delete all but the number of items specified.
|
||||
Periodically deleting old generations is important to make garbage
|
||||
collection effective.</para>
|
||||
<literal>+5</literal> to only keep the specified items older than the
|
||||
current generation. Periodically deleting old generations is important
|
||||
to make garbage collection effective.</para>
|
||||
|
||||
</refsection>
|
||||
|
||||
|
@ -1461,7 +1461,7 @@ error: no generation older than the current (91) exists</screen>
|
|||
<refsection condition="manpage"><title>Environment variables</title>
|
||||
|
||||
<variablelist>
|
||||
|
||||
|
||||
<varlistentry><term><envar>NIX_PROFILE</envar></term>
|
||||
|
||||
<listitem><para>Location of the Nix profile. Defaults to the
|
||||
|
@ -1475,6 +1475,6 @@ error: no generation older than the current (91) exists</screen>
|
|||
</variablelist>
|
||||
|
||||
</refsection>
|
||||
|
||||
|
||||
|
||||
</refentry>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue