* Options / config: these should be attrsets, not lists (IMHO).

svn path=/nixpkgs/trunk/; revision=16359
This commit is contained in:
Eelco Dolstra 2009-07-14 16:22:42 +00:00
parent 7f080535c4
commit 80cab44fce

View File

@ -62,8 +62,8 @@ rec {
selectDeclsAndDefs = modules:
lib.concatMap (m:
if m ? config || m ? options then
attrByPath ["options"] [] m
++ attrByPath ["config"] [] m
[ (attrByPath ["options"] {} m) ]
++ [ (attrByPath ["config"] {} m) ]
else
[ m ]
) modules;