[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17478 - NicolasPierron - nixpkgs/trunk/pkgs/lib

Eelco Dolstra e.dolstra at tudelft.nl
Tue Sep 29 11:40:41 CEST 2009


Hi,

Nicolas Pierron wrote:

> Author: NicolasPierron
> Date: 2009-09-28 18:22:31 +0000 (Mon, 28 Sep 2009)
> New Revision: 17478
> 
> You can view the changes in this commit at:
>    https://svn.nixos.org/viewvc/nix?rev=17478&view=rev
> 
> Modified:
>    nixpkgs/trunk/pkgs/lib/modules.nix
> 
> Log:
> the tryEval builtin does not have a strict evaluation. Add the toXML
> builtin to force the evaluation of the configuration value.  Thus the
> success flag returned by tryEval corespond to the success of the
> whole evaluation.

Not sure what you are doing here, but doesn't this make configuration evaluation
much stricter than it needs to be?

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



More information about the nix-dev mailing list