mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 02:09:36 +01:00
* Put the garbage collector in nix-store: operation `--gc',
suboperations `--print-live', `--print-dead', and `--delete'. The roots are not determined by nix-store; they are read from standard input. This is to make it easy to customise what the roots are. The collector now no longer fails when store expressions are missing (which legally happens when using substitutes). It never tries to fetch paths through substitutes. TODO: acquire a global lock on the store while garbage collecting. * Removed `nix-store --delete'.
This commit is contained in:
parent
9994c1dd9f
commit
818047881e
6 changed files with 167 additions and 19 deletions
|
|
@ -40,9 +40,5 @@ PathSet storeExprRoots(const Path & nePath);
|
|||
PathSet storeExprRequisites(const Path & nePath,
|
||||
bool includeExprs, bool includeSuccessors);
|
||||
|
||||
/* Return the list of the paths of all known store expressions whose
|
||||
output paths are completely contained in the set `outputs'. */
|
||||
PathSet findGenerators(const PathSet & outputs);
|
||||
|
||||
|
||||
#endif /* !__NORMALISE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue