about summary refs log tree commit diff
path: root/src/libexpr/common-opts.cc
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-05-05T23·43-0700
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-06T09·02+0200
commit0705d04dfab60b0c98fbd170b9cc3fcd073918bb (patch)
tree147a2b6b5d49d9b3f0320165b3bdc39bd8dc39dd /src/libexpr/common-opts.cc
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/libexpr/common-opts.cc')
0 files changed, 0 insertions, 0 deletions