Fix previous commit.
svn path=/nixpkgs/trunk/; revision=13373
This commit is contained in:
parent
249a3a314f
commit
53e6c77aca
|
@ -240,7 +240,7 @@ rec {
|
||||||
else if builtins.isList val then []
|
else if builtins.isList val then []
|
||||||
else if builtins.isAttrs val then {}
|
else if builtins.isAttrs val then {}
|
||||||
# else if builtins.isString val then ""
|
# else if builtins.isString val then ""
|
||||||
# else if builtins.isBoolean val then false
|
else if (val == true || val == false) then false
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
# Return a list of integers from `first' up to and including `last'.
|
# Return a list of integers from `first' up to and including `last'.
|
||||||
|
@ -535,7 +535,7 @@ rec {
|
||||||
rmRequireIf (optionSet config configFun);
|
rmRequireIf (optionSet config configFun);
|
||||||
in
|
in
|
||||||
config: merge "" (
|
config: merge "" (
|
||||||
uniqFlattenAttr (processConfig) "require" [] (toList opts)
|
uniqFlattenAttr (processConfig config) "require" [] (toList opts)
|
||||||
);
|
);
|
||||||
|
|
||||||
fixOptionSets = merge: pkgs: opts:
|
fixOptionSets = merge: pkgs: opts:
|
||||||
|
|
Loading…
Reference in New Issue