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:
parent
c9cc8969b4
commit
8dea4df903
7 changed files with 22 additions and 165 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue