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

Nicolas Pierron nicolas.b.pierron at gmail.com
Tue Sep 29 13:28:34 CEST 2009


On Tue, Sep 29, 2009 at 11:40, Eelco Dolstra <e.dolstra at tudelft.nl> wrote:
>> 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?

The configuration evaluation is left untouched, I've just exported a
strict evaluation of the configuration inside the option.  This is
only used to analyse options, not to compute the configuration of the
system.

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron
Donald Knuth - I can't go to a restaurant because I keep looking at
the fonts on the menu.



More information about the nix-dev mailing list