mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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 //
|
||||
{ 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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user