diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-11-30 21:42:52 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-11-30 23:51:42 +0100 |
commit | 8dea4df90323c43f9cc86a629f1581b91866e11d (patch) | |
tree | 7d426d12e78ca4120c2fc50c094f719112eeedc4 /nixos/modules/misc | |
parent | c9cc8969b4d4adeb389837d1cc85cc73a8272f55 (diff) | |
download | nixpkgs-8dea4df90323c43f9cc86a629f1581b91866e11d.tar nixpkgs-8dea4df90323c43f9cc86a629f1581b91866e11d.tar.gz nixpkgs-8dea4df90323c43f9cc86a629f1581b91866e11d.tar.bz2 nixpkgs-8dea4df90323c43f9cc86a629f1581b91866e11d.tar.lz nixpkgs-8dea4df90323c43f9cc86a629f1581b91866e11d.tar.xz nixpkgs-8dea4df90323c43f9cc86a629f1581b91866e11d.tar.zst nixpkgs-8dea4df90323c43f9cc86a629f1581b91866e11d.zip |
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.
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r-- | nixos/modules/misc/assertions.nix | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/nixos/modules/misc/assertions.nix b/nixos/modules/misc/assertions.nix index e8b1f5afca3..6a26a2332f2 100644 --- a/nixos/modules/misc/assertions.nix +++ b/nixos/modules/misc/assertions.nix @@ -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: |