Merge pull request #3106 from JosephLucas/patch-1

Update garbage-collection.xml readability
This commit is contained in:
Domen Kožar 2019-09-30 14:02:26 +02:00 committed by GitHub
commit a3bb929798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,12 +52,13 @@ garbage collector as follows:
<screen> <screen>
$ nix-store --gc</screen> $ nix-store --gc</screen>
The behaviour of the gargage collector is affected by the <literal>keep- The behaviour of the gargage collector is affected by the
derivations</literal> (default: true) and <literal>keep-outputs</literal> <literal>keep-derivations</literal> (default: true) and <literal>keep-outputs</literal>
(default: false) options in the Nix configuration file. The defaults will ensure (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 that all derivations that are build-time dependencies of garbage collector roots
will be collected but that all output paths that are not runtime dependencies will be kept and that all output paths that are runtime dependencies
will be collected. (This is usually what you want, but while you are developing 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.) 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 If you are feeling uncertain, you can also first view what files would