mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Merge pull request #3048 from toonn/nix-env_doc
Fix nix-env documentation for --delete-generations
This commit is contained in:
commit
8478c99d09
1 changed files with 7 additions and 4 deletions
|
@ -1370,10 +1370,13 @@ profile. The generations can be a list of generation numbers, the
|
||||||
special value <literal>old</literal> to delete all non-current
|
special value <literal>old</literal> to delete all non-current
|
||||||
generations, a value such as <literal>30d</literal> to delete all
|
generations, a value such as <literal>30d</literal> to delete all
|
||||||
generations older than the specified number of days (except for the
|
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.
|
generation that was active at that point in time), or a value such as
|
||||||
<literal>+5</literal> to only keep the specified items older than the
|
<literal>+5</literal> to keep the last <literal>5</literal> generations
|
||||||
current generation. Periodically deleting old generations is important
|
ignoring any newer than current, e.g., if <literal>30</literal> is the current
|
||||||
to make garbage collection effective.</para>
|
generation <literal>+5</literal> will delete generation <literal>25</literal>
|
||||||
|
and all older generations.
|
||||||
|
Periodically deleting old generations is important to make garbage collection
|
||||||
|
effective.</para>
|
||||||
|
|
||||||
</refsection>
|
</refsection>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue