Skip to content
Snippets Groups Projects
  1. May 10, 2005
  2. May 09, 2005
  3. May 08, 2005
  4. 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
  5. May 06, 2005
  6. May 04, 2005
  7. May 02, 2005
  8. May 01, 2005
  9. Apr 13, 2005
  10. Apr 12, 2005
  11. Apr 11, 2005
  12. Apr 10, 2005
  13. Apr 09, 2005
  14. Apr 08, 2005
  15. Apr 07, 2005
Loading