summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorYarny0 <41838844+Yarny0@users.noreply.github.com>2023-08-23 21:29:29 +0200
committerYarny0 <41838844+Yarny0@users.noreply.github.com>2023-12-02 09:09:28 +0100
commit20a9a21b246ca684e4e5a45e543a8a53be46e1d2 (patch)
tree7baba3cd0a6670c9b27747cbc875e071351f4976 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent98c03bf8c6b173a9eb4eb0296a9abadcb9a65873 (diff)
nixos/tsm-client: add migration code for freeform settings
To help users migrate from the previous settings to new freeform settings type, the commit at hand adds some `mkRemovedOptionModule` and `mkRenamedOptionModule`. These modules are not designed to work inside an attribute set of submodules. They create values for `assertions` and `warnings` to inform the user of required changes. Also, these informational texts do not contain the full attribute path of the changed options. To work around these deficiencies, we define the required options `assertions` and `warnings` inside the submodule and later add the values collected inside these options to the corresponding top-level options. In the course of doing so, we also add the full attribute path to the informational texts so the user knows these warning and error messages refer to the `tsmClient.servers` option. Also, we have to filter out `warnings`, `assertions`, and the "old" options when rendering the target config file.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions