summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2019-04-17 14:08:16 +0200
committerBas van Dijk <v.dijk.bas@gmail.com>2019-04-17 14:08:16 +0200
commit57e5b75f9cb3a1368fa1123ad426c72bc12f8e5d (patch)
tree4a151089c5126e54321d1b7b6bfec5c46929f149 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent6ae33c9afeb4b66fd08887c06352564f6f9c9a6e (diff)
nixos/prometheus: filter out the _module attr in a central place
We previously filtered out the `_module` attribute in a NixOS configuration by filtering it using the option's `apply` function. This meant that every option that had a submodule type needed to have this apply function. Adding this function is easy to forget thus this mechanism is error prone. We now recursively filter out the `_module` attributes at the place we construct the Prometheus configuration file. Since we now do the filtering centrally we don't have to do it per option making it less prone to errors.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions