[Nix-dev] NixOS module assertions

Eelco Dolstra e.dolstra at tudelft.nl
Tue Mar 29 17:01:14 CEST 2011


Hi,

On 03/29/2011 04:46 PM, Marc Weber wrote:

> Excerpts from Nicolas Pierron's message of Tue Mar 29 11:11:11 +0200 2011:
>> The only disadvantage is that you won't see multiple assertions
>> failing at once.
>
>> On the other side, you will always see when an
>> assertion is failing and this implementation is cleaner.
> Would you mind comparing your solution briefly with what I suggested:
> force evaluation of assertions when returning the config?
>
> I prefer seeing all failures at once rather than many iterative try /
> fail / fix cycles.

How many assertion failures do you typically see?  I rarely get them.

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



More information about the nix-dev mailing list