lib/modules: Remove _module.checks.*.triggerPath as it's not necessary

Previously this option was thought to be necessary to avoid infinite
recursion, but it actually isn't, since the check evaluation isn't fed
back into the module fixed-point.
This commit is contained in:
Silvan Mosberger
2020-11-30 21:42:52 +01:00
parent c9cc8969b4
commit 8dea4df903
7 changed files with 22 additions and 165 deletions

View File

@@ -29,12 +29,6 @@ with lib;
'';
};
_module.checks = mkOption {
type = types.attrsOf (types.submodule {
triggerPath = mkDefault [ "system" "build" "toplevel" ];
});
};
};
config._module.checks = lib.listToAttrs (lib.imap1 (n: value: