lix/src
Ricardo M. Correia 700c678c2e nix-env: Minor change to '--delete-generations Nd' semantics
The option '--delete-generations Nd' deletes all generations older than N
days. However, most likely the user does not want to delete the
generation that was active N days ago.

For example, say that you have these 3 generations:

1: <30 days ago>
2: <15 days ago>
3: <1 hour ago>

If you do --delete-generations 7d (say, as part of a cron job), most
likely you still want to keep generation 2, i.e. the generation that was
active 7 days ago (and for most of the past 7 days, in fact).

This patch fixes this issue. Note that this also affects
'nix-collect-garbage --delete-older-than Nd'.

Thanks to @roconnor for noticing the issue!
2014-04-15 15:34:58 +02:00
..
boost boost::shared_ptr -> std::shared_ptr 2014-03-30 00:49:23 +01:00
bsdiff-4.3 Fix "make dist" 2014-02-01 14:38:12 +01:00
download-via-ssh Simplify getting use-ssh-substituter from untrusted users 2014-02-26 13:58:46 +01:00
libexpr If a .drv cannot be parsed, show its path 2014-04-08 19:24:29 +02:00
libmain restoreSIGPIPE(): Fill in sa_mask 2014-03-29 20:20:14 +01:00
libstore If a .drv cannot be parsed, show its path 2014-04-08 19:24:29 +02:00
libutil If a .drv cannot be parsed, show its path 2014-04-08 19:24:29 +02:00
nix-daemon Fix compile errors on Illumos 2014-04-03 17:39:57 +02:00
nix-env nix-env: Minor change to '--delete-generations Nd' semantics 2014-04-15 15:34:58 +02:00
nix-hash Remove Automakefiles 2014-02-01 13:54:38 +01:00
nix-instantiate nix-instantiate: Allow --dry-run as a synonym for --readonly-mode 2014-02-19 16:46:33 +01:00
nix-log2xml Remove Automakefiles 2014-02-01 13:54:38 +01:00
nix-store nix-store -r: Respect --add-root for non-derivations 2014-02-26 16:32:46 +01:00