0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

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
No known key found for this signature in database
GPG key ID: E8F1E9EAD284E17D
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: