diff options
| author | Silvan Mosberger <contact@infinisil.com> | 2020-09-01 23:32:57 +0200 |
|---|---|---|
| committer | Silvan Mosberger <contact@infinisil.com> | 2020-11-30 23:51:19 +0100 |
| commit | df5ba82f74df75e96390995472f3e1e5179da21c (patch) | |
| tree | d9bb18f663bc5fd8e636449aa95398796c68e7b2 /pkgs/development/python-modules/rangehttpserver | |
| parent | 0b61ed7af920e6248638d7b53d932c0470b9b054 (diff) | |
lib/modules: Implement module-builtin assertions
This implements assertions/warnings supported by the module system directly,
instead of just being a NixOS option (see
nixos/modules/misc/assertions.nix).
This has the following benefits:
- It allows cleanly redoing the user interface. The new
implementation specifically allows disabling assertions or
converting them to warnings instead.
- Assertions/warnings can now be thrown easily from within
submodules, which previously wasn't possible and needed workarounds.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
