about summary refs log tree commit diff
path: root/src/nix-collect-garbage/nix-collect-garbage.cc
AgeCommit message (Collapse)AuthorFilesLines
2015-05-06 nix-collect-garbage: Do not pass an empty argument. Closes #530Luca Bruno1-1/+5
2015-05-06 nix-collect-garbage: Fix deleting old generationsWilliam A. Kennington III1-1/+1
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-22 nix-collect-garbage: translate to C++Luca Bruno1-0/+87