Skip to content
Snippets Groups Projects
  1. Sep 07, 2017
  2. Sep 06, 2017
  3. Sep 05, 2017
    • Eelco Dolstra's avatar
      Add automatic garbage collection · 0b606aad
      Eelco Dolstra authored
      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").
      0b606aad
    • Eelco Dolstra's avatar
      GC: Don't delete own temproots file · b932ea58
      Eelco Dolstra authored
      Since file locks are per-process rather than per-file-descriptor, the
      garbage collector would always acquire a lock on its own temproots
      file and conclude that it's stale.
      b932ea58
  4. Sep 01, 2017
  5. Aug 31, 2017
  6. Aug 29, 2017
  7. Aug 28, 2017
  8. Aug 25, 2017
  9. Aug 21, 2017
Loading