Skip to content
Snippets Groups Projects
  1. Mar 16, 2004
  2. Mar 15, 2004
    • Eelco Dolstra's avatar
      * Added a utility that can be used to produce nice HTML pages from Nix · 9d2669d2
      Eelco Dolstra authored
        build logs.  The program `log2xml' converts a Nix build log (read
        from standard input) into XML file that can then be converted to
        XHTML by the `log2html.xsl' stylesheet.  The CSS stylesheet
        `logfile.css' is necessary to make it look good.
      
        This is primarily useful if the log file has a *tree structure*,
        i.e., that sub-tasks such as the various phases of a build (unpack,
        configure, make, etc.) or recursive invocations of Make are
        represented as such.  While a log file is in principle an
        unstructured plain text file, builders can communicate this tree
        structure to `log2xml' by using escape sequences:
      
        - "\e[p" starts a new nesting level; the first line following the
          escape code is the header;
      
        - "\e[q" ends the current nesting level.
      
        The generic builder in nixpkgs (not yet committed) uses this.  It
        shouldn't be to hard to patch GNU Make to speak this protocol.
      
        Further improvements to the generated HTML pages are to allow
        collapsing/expanding of subtrees, and to abbreviate store paths (but
        to show the full path by hovering the mouse over it).
        
      9d2669d2
    • Eelco Dolstra's avatar
      * Make perl a dependency of Nix. · beda10f5
      Eelco Dolstra authored
      beda10f5
  3. Mar 12, 2004
  4. Feb 20, 2004
  5. Feb 19, 2004
  6. Feb 16, 2004
  7. Feb 14, 2004
  8. Feb 13, 2004
  9. Feb 11, 2004
  10. Feb 10, 2004
  11. Feb 09, 2004
  12. 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
  13. Feb 06, 2004
  14. Feb 04, 2004
  15. Feb 03, 2004
  16. 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
  17. Jan 30, 2004
  18. Jan 29, 2004
  19. Jan 22, 2004
Loading