nix-super/src/nix-env
Eelco Dolstra 06a75a7e0c * A command `--switch-generation' to switch to a specific generation
of the current profile, e.g.,

    $ nix-env --list-generations
    ...
    39   2004-02-02 17:53:53
    40   2004-02-02 17:55:18
    41   2004-02-02 17:55:41
    42   2004-02-02 17:55:50   (current)

    $ nix-env --switch-generation 39

    $ ls -l /nix/var/nix/profiles/default
    ... default -> default-39-link

* Also a command `--rollback' which is just a convenience operation to
  rollback to the oldest generation younger than the current one.

  Note that generations properly form a tree.  E.g., if after
  switching to generation 39, we perform an installation action,
  a generation 43 is created which is a descendant of 39, not 42.  So
  a rollback from 43 ought to go back to 39.  This is not currently
  implemented; generations form a linear sequence.
2004-02-08 14:07:43 +00:00
..
help.txt * A command `--switch-generation' to switch to a specific generation 2004-02-08 14:07:43 +00:00
main.cc * A command `--switch-generation' to switch to a specific generation 2004-02-08 14:07:43 +00:00
Makefile.am * More refactoring. 2004-02-06 14:57:10 +00:00
names.cc * Refactoring. 2004-02-06 14:49:41 +00:00
names.hh * Refactoring. 2004-02-06 14:49:41 +00:00
profiles.cc * In `--list-generations', show what the current generation is. 2004-02-06 16:16:55 +00:00
profiles.hh * A command `--switch-generation' to switch to a specific generation 2004-02-08 14:07:43 +00:00