about summary refs log tree commit diff
path: root/lib/modules.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-07-11 12:04:50 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-07-11 12:22:58 +0200
commitc28dd7d9210731257775e8bd8722e27eb260c00e (patch)
treed30a19bee390159a3d2ee13cd2d082c0c0964865 /lib/modules.nix
parent448b153f819c1fc43db5954ee9788f6f51b93b27 (diff)
lib/modules.nix: Rename defnsByName -> pushedDownDefinitionsByName
Diffstat (limited to 'lib/modules.nix')
-rw-r--r--lib/modules.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/modules.nix b/lib/modules.nix
index 14efb39b8a00e..18d3f23b1c195 100644
--- a/lib/modules.nix
+++ b/lib/modules.nix
@@ -557,7 +557,7 @@ let
                   subtree
               ) options);
       # an attrset 'name' => list of submodules that define ‘name’.
-      defnsByName =
+      pushedDownDefinitionsByName =
         zipAttrsWith (n: concatLists)
           (map (module: let subtree = module.config; in
               if !(builtins.isAttrs subtree) then
@@ -619,7 +619,7 @@ let
         # We're descending into attribute ‘name’.
         let
           loc = prefix ++ [name];
-          defns = defnsByName.${name} or [];
+          defns = pushedDownDefinitionsByName.${name} or [];
           defns' = rawDefinitionsByName.${name} or [];
           optionDecls = filter (m: isOption m.options) decls;
         in