do not delay mkOverride on options which are does not have sub modules.
svn path=/nixpkgs/trunk/; revision=17758
This commit is contained in:
parent
7e3bcbd4c2
commit
e82843144c
|
@ -118,7 +118,7 @@ rec {
|
|||
moduleApply { config = delayProperties; } module;
|
||||
|
||||
evalDefinitions = opt: values:
|
||||
if opt ? type && opt.type.delayOnGlobalEval then
|
||||
if opt ? options && opt.options != [] && opt ? type && opt.type.delayOnGlobalEval then
|
||||
map (delayPropertiesWithIter opt.type.iter opt.name)
|
||||
(evalLocalProperties values)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue