Excerpts from Eelco Dolstra's message of Mon Jan 16 16:50:10 +0100 2012:
>   config = mkUnion
That mkUnion is exactly what mkMerge should be doing.

Wait another week or two. I hope I have nixos running on my rewrite so that we
can benchmark both memory consumption and speed. If there are no
significant improvements in those two areas I'm likely to drop it again.

You can see the draft implementation here:
http://mawercer.de/~marc/config-eval-rewrite.patch

The test.nix contains examples about how mkMerge can be used.

Basically its still a {
 options = ..
 config = ..
}

declaration. I chose to make it explicit that required modules don't depend
on options. Not sure whether its making everything less readable.

Marc Weber
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to