mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03: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