diff options
| author | Robert Hensing <robert@roberthensing.nl> | 2023-07-11 12:18:41 +0200 |
|---|---|---|
| committer | Robert Hensing <robert@roberthensing.nl> | 2023-07-11 12:22:58 +0200 |
| commit | 6acc3114c30564d112c2c83836c9eb0685165d9a (patch) | |
| tree | 8dc00a5646c2d966c721cae016cabafc6a835660 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | c28dd7d9210731257775e8bd8722e27eb260c00e (diff) | |
lib/modules.nix: Make entire definition list strict in config check
This is a non-trivial refactor that slightly changes the semantics
of the internal definition lists.
Whereas previously only individual list items would trigger the exception,
now the error is promoted to the whole list.
This is mostly ok, because we compute the value, it is wrong to ignore a definition.
However, we don't always compute the value. For instance `readOnly`
only needs to count definitions. That won't be possible anymore when
the error is raised for one of the items. As a consequence, an error
will be raised for the errant definition instead of the number of
definitions.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
