Skip to content
Snippets Groups Projects
  1. Aug 01, 2005
  2. Jul 25, 2005
  3. Jul 22, 2005
  4. Jul 19, 2005
  5. Jul 16, 2005
  6. Jul 13, 2005
  7. Jul 12, 2005
  8. Jun 18, 2005
  9. May 18, 2005
  10. May 10, 2005
  11. May 09, 2005
  12. May 08, 2005
  13. May 07, 2005
    • Eelco Dolstra's avatar
      Commit 3000! · 77557a6f
      Eelco Dolstra authored
      * Make the `derivation' primitive much more lazy.  The expression
        `derivation attrs' now evaluates to (essentially)
      
          attrs // {
            type = "derivation";
            outPath = derivation! attrs;
            drvPath = derivation! attrs;
          }
      
        where `derivation!' is a primop that does the actual derivation
        instantiation (i.e., it does what `derivation' used to do).  The
        advantage is that it allows commands such as `nix-env -qa' and
        `nix-env -i' to be much faster since they no longer need to
        instantiate all derivations, just the `name' attribute.  (However,
        `nix-env' doesn't yet take advantage of this since it still always
        evaluates the `outPath' and `drvPath' attributes).
      
        Also, this allows derivations to cyclically reference each other,
        for example,
      
          webServer = derivation {
            ...
            hostName = "svn.cs.uu.nl";
            services = [svnService];
          };
      
          svnService = derivation {
            ...
            hostName = webServer.hostName;
          };
      
        Previously, this would yield a black hole (infinite recursion).
      77557a6f
    • Eelco Dolstra's avatar
      6057b518
    • Eelco Dolstra's avatar
      * Build .tar.bz2 files in `make dist'. · 6c88d677
      Eelco Dolstra authored
      6c88d677
  14. May 06, 2005
  15. May 04, 2005
Loading