Skip to content

Commit

Permalink
Update garbage-collection.xml readability
Browse files Browse the repository at this point in the history
1. remove a typo space
2. Simplify negative style by using affirmative style
  • Loading branch information
JosephLucas committed Sep 23, 2019
1 parent 5038e1b commit 10bfc5c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/manual/packages/garbage-collection.xml
Expand Up @@ -52,12 +52,13 @@ garbage collector as follows:
<screen>
$ nix-store --gc</screen>

The behaviour of the gargage collector is affected by the <literal>keep-
derivations</literal> (default: true) and <literal>keep-outputs</literal>
The behaviour of the gargage collector is affected by the
<literal>keep-derivations</literal> (default: true) and <literal>keep-outputs</literal>
(default: false) options in the Nix configuration file. The defaults will ensure
that all derivations that are not build-time dependencies of garbage collector roots
will be collected but that all output paths that are not runtime dependencies
will be collected. (This is usually what you want, but while you are developing
that all derivations that are build-time dependencies of garbage collector roots
will be kept and that all output paths that are runtime dependencies
will be kept as well. All other derivations or paths will be collected.
(This is usually what you want, but while you are developing
it may make sense to keep outputs to ensure that rebuild times are quick.)

If you are feeling uncertain, you can also first view what files would
Expand Down

0 comments on commit 10bfc5c

Please sign in to comment.