aboutsummaryrefslogtreecommitdiff
path: root/src/nix-collect-garbage
AgeCommit message (Collapse)Author
2015-08-21nix-collect-garbage: Revive --max-freedEelco Dolstra
Fixes #609.
2015-07-17nix-collect-garbage: Handle ENOENTEelco Dolstra
Don't barf trying to read a link that just got deleted. Fixes #575.
2015-05-22Remove dead codeEelco Dolstra
2015-05-21nix-collect-garbage: Don't call nix-envEelco Dolstra
Also, make sure --delete-older-than doesn't delete the current generation.
2015-05-21nix-collect-garbage: Call collectGarbage() internallyEelco Dolstra
2015-05-21nix-collect-garbage: Don't barf on unreadable directoriesEelco Dolstra
And don't try to delete generations from unwritable directories.
2015-05-21nix-collect-garbage: Remove redundant call to getFileTypeEelco Dolstra
2015-05-06nix-collect-garbage: Do not pass an empty argument. Closes #530Luca Bruno
2015-05-06nix-collect-garbage: Fix deleting old generationsWilliam A. Kennington III
The call to nix-env expects a string which represents how old the derivations are or just "old" which means any generations other than the current one in use. Currently nix-collect-garbage passes an empty string to nix-env when using the -d option. This patch corrects the call to nix-env such that it follows the old behavior.
2015-04-22nix-collect-garbage: translate to C++Luca Bruno