summary refs log tree commit diff
path: root/nixos/modules/misc
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2020-11-30 21:42:52 +0100
committerSilvan Mosberger <contact@infinisil.com>2020-11-30 23:51:42 +0100
commit8dea4df90323c43f9cc86a629f1581b91866e11d (patch)
tree7d426d12e78ca4120c2fc50c094f719112eeedc4 /nixos/modules/misc
parentc9cc8969b4d4adeb389837d1cc85cc73a8272f55 (diff)
downloadnixpkgs-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.nix6
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: