Skip to content
Snippets Groups Projects
  1. Feb 13, 2004
  2. Feb 11, 2004
  3. Feb 10, 2004
  4. Feb 09, 2004
  5. Feb 08, 2004
    • Eelco Dolstra's avatar
      * A command `--switch-generation' to switch to a specific generation · 06a75a7e
      Eelco Dolstra authored
        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.
      
      06a75a7e
  6. Feb 06, 2004
  7. Feb 04, 2004
  8. Feb 03, 2004
  9. Feb 02, 2004
    • Eelco Dolstra's avatar
      * Added syntactic sugar to the construction of attribute sets to · 1c9c0a5a
      Eelco Dolstra authored
        `inherit' variables from the surrounding lexical scope.
      
        E.g.,
      
          {stdenv, libfoo}: derivation {
            builder = ./bla;
            inherit stdenv libfoo;
            xyzzy = 1;
          }
      
        is equivalent to
      
          {stdenv, libfoo}: derivation {
            builder = ./bla;
            stdenv = stdenv;
            libfoo = libfoo;
            xyzzy = 1;
          }
      
        Note that for mutually recursive attribute set definitions (`rec
        {...}'), this also works, that is, `rec {inherit x;}' is equivalent
        to `let {fresh = x; body = rec {x = fresh;};}', *not*
        `rec {x = x}'.
      1c9c0a5a
    • Eelco Dolstra's avatar
      * Sort `nix-env -q' output by derivation name. · d9f30fe7
      Eelco Dolstra authored
      * `--version' flag for all commands.
      * Manual updates.
      d9f30fe7
  10. Jan 30, 2004
  11. Jan 29, 2004
  12. Jan 22, 2004
  13. Jan 21, 2004
  14. Jan 20, 2004
  15. Jan 19, 2004
  16. Jan 16, 2004
  17. Jan 15, 2004
Loading