Files
nix/tests
Eelco Dolstra 9279174dde * Added an experimental feature suggested by Andres: ellipses ("...")
in attribute set pattern matches.  This allows defining a function
  that takes *at least* the listed attributes, while ignoring
  additional attributes.  For instance,

    {stdenv, fetchurl, fuse, ...}:
    
    stdenv.mkDerivation {
      ...
    };
    
  defines a function that requires an attribute set that contains the 
  specified attributes but ignores others.  The main advantage is that
  we can then write in all-packages.nix

    aefs = import ../bla/aefs pkgs;

  instead of

    aefs = import ../bla/aefs {
      inherit stdenv fetchurl fuse;
    };

  This saves a lot of typing (not to mention not having to update
  all-packages.nix with purely mechanical changes).  It saves as much
  typing as the "args: with args;" style, but has the advantage that
  the function arguments are properly declared (not implicit in what
  the body of the "with" uses).
2008-08-14 14:00:44 +00:00
..
2006-03-01 16:52:55 +00:00
2006-07-21 13:21:43 +00:00
2006-03-01 12:51:18 +00:00
2007-08-13 13:15:02 +00:00
2007-01-29 14:23:09 +00:00
2007-01-29 14:23:09 +00:00
2007-09-11 13:32:04 +00:00
2007-09-11 13:32:04 +00:00
2006-07-21 13:21:43 +00:00
2006-07-21 13:21:43 +00:00
2007-02-21 14:00:46 +00:00
2006-03-01 14:26:03 +00:00
2006-07-21 13:21:43 +00:00
2008-07-18 20:03:12 +00:00
2006-07-21 13:21:43 +00:00
2006-03-01 12:51:18 +00:00
2006-03-01 16:03:32 +00:00
2006-03-01 12:51:18 +00:00
2006-03-01 14:26:03 +00:00
2006-07-21 13:21:43 +00:00
2006-07-21 13:21:43 +00:00
2006-03-01 12:51:18 +00:00
2007-08-13 13:15:02 +00:00
2006-07-21 13:21:43 +00:00
2007-12-31 00:34:44 +00:00
2008-08-04 16:16:49 +00:00
2008-08-04 16:16:49 +00:00
2007-08-13 13:15:02 +00:00
2007-08-13 13:15:02 +00:00
2006-07-21 13:21:43 +00:00
2006-07-21 13:21:43 +00:00
2008-06-15 15:10:03 +00:00
2006-03-01 12:51:18 +00:00