0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

Module system: Fix ‘definitions’ field

Fixes https://github.com/NixOS/nixops/issues/325.
This commit is contained in:
Eelco Dolstra 2015-08-05 14:29:38 +02:00
parent bb38d9974b
commit cbecbd01f9

View file

@ -285,7 +285,7 @@ rec {
in opt //
{ value = addErrorContext "while evaluating the option `${showOption loc}':" value;
definitions = map (def: def.value) defsFinal;
definitions = map (def: def.value) res.defsFinal;
files = map (def: def.file) res.defsFinal;
inherit (res) isDefined;
};