nixpkgs/lib/tests
Silvan Mosberger 767d80099c
lib/modules: Introduce _module.checks.*.check
Previously the .enable option was used to encode the condition as well,
which lead to some oddness:
- In order to encode an assertion, one had to invert it
- To disable a check, one had to mkForce it

By introducing a separate .check option this is solved because:
- It can be used to encode assertions
- Disabling is done separately with .enable option, whose default can be
  overridden without a mkForce
2020-12-17 21:52:24 +01:00
..
modules lib/modules: Introduce _module.checks.*.check 2020-12-17 21:52:24 +01:00
check-eval.nix lib/tests: Add check-eval.nix to run simple tests. 2018-03-04 06:28:49 -05:00
maintainers.nix lib/tests: Allow overriding pkgs independent of lib being tested 2020-04-25 23:40:20 +02:00
misc.nix nixos/modules: Expose the internal module in the top-level documentation 2020-11-30 23:51:23 +01:00
modules.sh lib/modules: Introduce _module.checks.*.check 2020-12-17 21:52:24 +01:00
release.nix Don't set $NIX_DB_DIR 2020-08-24 18:50:20 +02:00
systems.nix Initial implementation of mmix cross-compile 2020-11-09 19:49:55 +07:00