Skip to content
Snippets Groups Projects
  1. Mar 28, 2004
  2. Mar 27, 2004
    • Eelco Dolstra's avatar
      * Disallow the Nix store or any of its parents from being symlinks. · f8cd904e
      Eelco Dolstra authored
        This is because the contents of these symlinks are not incorporated
        into the hashes of derivations, and could therefore cause a mismatch
        between the build system and the target system.  E.g., if
        `/nix/store' is a symlink to `/data/nix/store', then a builder could
        expand this path and store the result.  If on the target system
        `/nix/store' is not a symlink, or is a symlink that points somewhere
        else, we have a dangling pointer.
      
        The trigger for this change is that gcc 3.3.3 does exactly that (it
        applies realpath() to some files, such as libraries, which causes
        our impurity checker to bail out.)
      
        An annoying side-effect of this change is that it makes it harder to
        move the Nix store to a different file system.  On Linux, bind
        mounts can be used instead of symlink for this purpose (e.g., `mount
        -o bind /data/nix/store /nix/store').
      f8cd904e
    • Eelco Dolstra's avatar
      * Do not close a nesting level twice after close() has been · f0f7a9f2
      Eelco Dolstra authored
        called explicitly on a Nest object.
      f0f7a9f2
  3. Mar 22, 2004
  4. Mar 19, 2004
  5. Mar 18, 2004
  6. Mar 17, 2004
  7. Mar 16, 2004
  8. 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
  9. Mar 12, 2004
  10. Feb 20, 2004
  11. Feb 19, 2004
  12. Feb 16, 2004
  13. Feb 14, 2004
  14. Feb 13, 2004
  15. Feb 11, 2004
  16. Feb 10, 2004
  17. Feb 09, 2004
  18. 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
  19. Feb 06, 2004
  20. Feb 04, 2004
Loading