Module system: Fix ‘definitions’ field
Fixes https://github.com/NixOS/nixops/issues/325.
This commit is contained in:
parent
bb38d9974b
commit
cbecbd01f9
|
@ -285,7 +285,7 @@ rec {
|
||||||
|
|
||||||
in opt //
|
in opt //
|
||||||
{ value = addErrorContext "while evaluating the option `${showOption loc}':" value;
|
{ 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;
|
files = map (def: def.file) res.defsFinal;
|
||||||
inherit (res) isDefined;
|
inherit (res) isDefined;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue