diff options
author | Domen Kožar <domen@dev.si> | 2019-09-30 14:02:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-30 14:02:26 +0200 |
commit | a3bb929798a99445004507acba843c9a29266f1f (patch) | |
tree | ff1b3259294fda2769248ae5d068abd28256f88a | |
parent | 5038e1bec43a71c97ae7f8be07218a8a2edbb6a1 (diff) | |
parent | 10bfc5c0d09d5508e3dab4c32f3368caeb5f7f56 (diff) |
Merge pull request #3106 from JosephLucas/patch-1
Update garbage-collection.xml readability
-rw-r--r-- | doc/manual/packages/garbage-collection.xml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/manual/packages/garbage-collection.xml b/doc/manual/packages/garbage-collection.xml index a1b0ef22a..b506f22b0 100644 --- a/doc/manual/packages/garbage-collection.xml +++ b/doc/manual/packages/garbage-collection.xml @@ -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 |