3
0
Fork 0
forked from mirrors/nixpkgs

Fix option renaming

This commit is contained in:
Eelco Dolstra 2013-10-28 16:24:48 +01:00
parent d5047faede
commit 44d6d88739

View file

@ -159,7 +159,7 @@ rec {
value = (opt.apply or id) merged;
in opt //
{ value = addErrorContext "while evaluating the option `${showOption loc}':" value;
definitions = defsFinal;
definitions = map (def: def.value) defsFinal;
isDefined = defsFinal != [];
};