* Options / config: these should be attrsets, not lists (IMHO).
svn path=/nixpkgs/trunk/; revision=16359
This commit is contained in:
parent
7f080535c4
commit
80cab44fce
|
@ -62,8 +62,8 @@ rec {
|
||||||
selectDeclsAndDefs = modules:
|
selectDeclsAndDefs = modules:
|
||||||
lib.concatMap (m:
|
lib.concatMap (m:
|
||||||
if m ? config || m ? options then
|
if m ? config || m ? options then
|
||||||
attrByPath ["options"] [] m
|
[ (attrByPath ["options"] {} m) ]
|
||||||
++ attrByPath ["config"] [] m
|
++ [ (attrByPath ["config"] {} m) ]
|
||||||
else
|
else
|
||||||
[ m ]
|
[ m ]
|
||||||
) modules;
|
) modules;
|
||||||
|
|
Loading…
Reference in New Issue