mirror of
https://github.com/NixOS/nix.git
synced 2025-12-08 10:01:01 +01:00
Added possibility to specify garbage collection levels for store paths; so packages can share intermediate results of compilation and GC will collect it automatically while never touching tarballs, for example.
This commit is contained in:
parent
5b74a59570
commit
6fc60e2060
2 changed files with 21 additions and 4 deletions
6
src/libstore/gc.hh
Normal file
6
src/libstore/gc.hh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef __GC_H_INCLUDED
|
||||
#define __GC_H_INCLUDED
|
||||
|
||||
const unsigned int defaultGcLevel = 1000;
|
||||
|
||||
#endif //__GC_H_INCLUDED
|
||||
Loading…
Add table
Add a link
Reference in a new issue