mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
the tryEval builtin does not have a strict evaluation. Add the toXML
builtin to force the evaluation of the configuration value. Thus the success flag returned by tryEval corespond to the success of the whole evaluation. svn path=/nixpkgs/trunk/; revision=17478
This commit is contained in:
parent
fad1b41fe4
commit
b0f639844a
@ -219,7 +219,7 @@ rec {
|
||||
}) (definitionsOf name);
|
||||
|
||||
config = builtins.tryEval
|
||||
(lib.getAttr name result.config);
|
||||
(builtins.toXML (lib.getAttr name result.config));
|
||||
}
|
||||
else if all isAttrs values then
|
||||
(recurseInto name modules).options
|
||||
|
Loading…
Reference in New Issue
Block a user