diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-08-05 14:29:38 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-08-05 14:35:00 +0200 |
commit | cbecbd01f95fa4a2e417e54454f5f740a550eee9 (patch) | |
tree | 3ff1e97217afaed7fcf7ae0bad402b736a4f6724 /lib/modules.nix | |
parent | bb38d9974b2bff63f3ab4ea82123dfb2038234c8 (diff) |
Module system: Fix ‘definitions’ field
Fixes https://github.com/NixOS/nixops/issues/325.
Diffstat (limited to 'lib/modules.nix')
-rw-r--r-- | lib/modules.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/modules.nix b/lib/modules.nix index 50827e18f105..a40f02dcc3dd 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -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; }; |