[Nix-dev] Re: [Nix-commits] SVN commit: nix - 14429 - MarcWeber - in nixpkgs/trunk/pkgs: lib top-level

Eelco Dolstra e.dolstra at tudelft.nl
Sat Mar 7 12:05:25 CET 2009


Marc Weber wrote:

> Author: MarcWeber
> Date: 2009-03-06 23:21:31 +0000 (Fri, 06 Mar 2009)
> New Revision: 14429
> 
> You can view the changes in this commit at:
>    https://svn.nixos.org/viewvc/nix?rev=14429&view=rev
> 
> Modified:
>    nixpkgs/trunk/pkgs/lib/debug.nix
>    nixpkgs/trunk/pkgs/top-level/all-packages.nix
> 
> Log:
> add error context to all top level attr names of all-packages.nix

Why is this necessary? Nix already shows an error context when evaluating
attributes (see evalSelect() in eval.cc).

Also, I wonder about the runtime cost of mapping over all attributes in
all-packages.nix...

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list