aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store/serve-protocol.hh
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-05-05 16:43:24 -0700
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-06 11:02:36 +0200
commit0705d04dfab60b0c98fbd170b9cc3fcd073918bb (patch)
tree147a2b6b5d49d9b3f0320165b3bdc39bd8dc39dd /src/nix-store/serve-protocol.hh
parent9451ef3731904090d7c8476137960a3fb9d4679d (diff)
nix-collect-garbage: Fix deleting old generations
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.
Diffstat (limited to 'src/nix-store/serve-protocol.hh')
0 files changed, 0 insertions, 0 deletions