3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
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
..
systems Initial implementation of remarkable1 cross-compile 2020-11-23 21:18:54 +07:00
tests lib/modules: Introduce _module.checks.*.check 2020-12-17 21:52:24 +01:00
asserts.nix
attrsets.nix
cli.nix
customisation.nix lib: Create makeScopeWithSplicing 2020-11-19 00:07:14 -05:00
debug.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
default.nix lib: Create makeScopeWithSplicing 2020-11-19 00:07:14 -05:00
deprecated.nix
fetchers.nix
filesystem.nix lib: Add readTree function to filesystem 2020-10-19 16:42:21 -07:00
fixed-points.nix lib: Add composeManyExtensions 2020-11-13 21:37:57 +01:00
generators.nix lib/generators.toPretty: functors should print as functions 2020-09-17 18:20:43 +02:00
kernel.nix
licenses.nix licenses: add HPND-sell-variant 2020-11-15 03:11:05 -05:00
lists.nix lib.lists.unique: Switch from recursive function to using a fold 2020-11-24 14:31:54 +01:00
meta.nix
minver.nix
modules.nix lib/modules: Introduce _module.checks.*.check 2020-12-17 21:52:24 +01:00
options.nix lib/options: Don't show internal suboption in the manual 2020-11-30 22:51:34 +01:00
sources.nix lib/sources.nix: fix incorrect inherit 2020-10-30 23:19:22 +01:00
strings-with-deps.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
strings.nix Merge pull request #44928 from vcunat/p/configure-assert 2020-11-11 11:14:12 +01:00
trivial.nix lib: add importTOML 2020-09-12 16:37:50 +02:00
types.nix lib/types.nix: fix missing inherit 2020-10-26 00:50:06 -07:00
versions.nix
zip-int-bits.nix