* 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:
|
||||
lib.concatMap (m:
|
||||
if m ? config || m ? options then
|
||||
attrByPath ["options"] [] m
|
||||
++ attrByPath ["config"] [] m
|
||||
[ (attrByPath ["options"] {} m) ]
|
||||
++ [ (attrByPath ["config"] {} m) ]
|
||||
else
|
||||
[ m ]
|
||||
) modules;
|
||||
|
|
Loading…
Reference in New Issue