mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 13:06:01 +01:00
Nix can now automatically run the garbage collector during builds or while adding paths to the store. The option "min-free = <bytes>" specifies that Nix should run the garbage collector whenever free space in the Nix store drops below <bytes>. It will then delete garbage until "max-free" bytes are available. Garbage collection during builds is asynchronous; running builds are not paused and new builds are not blocked. However, there also is a synchronous GC run prior to the first build/substitution. Currently, no old GC roots are deleted (as in "nix-collect-garbage -d"). |
||
|---|---|---|
| .. | ||
| advanced-topics | ||
| command-ref | ||
| expressions | ||
| figures | ||
| glossary | ||
| images/callouts | ||
| installation | ||
| introduction | ||
| packages | ||
| release-notes | ||
| troubleshooting | ||
| hacking.xml | ||
| local.mk | ||
| manual.xml | ||
| nix-lang-ref.xml | ||
| quote-literals.xsl | ||
| schemas.xml | ||
| style.css | ||