summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorr-vdp <ramses@well-founded.dev>2024-03-21 14:52:12 +0100
committerr-vdp <ramses@well-founded.dev>2024-04-15 11:32:45 +0200
commit9258f57625b474c542938a295ee0e85c9c5533ff (patch)
tree28d3864e9dc7f762c4fd1ba6c0627e88196be1b5 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentb432281d974471484e95a2f625c358f449a54d0d (diff)
systemd: add a name option to all systemd units
This allows us to set things like dependencies in a way that we can catch typos at eval time. So instead of ```nix systemd.services.foo.wants = [ "bar.service" ]; ``` we can write ```nix systemd.services.foo.wants = [ config.systemd.services.bar.name ]; ``` which will throw an error if no such service has been defined. Not all cases can be done like this (eg template services), but in a lot of cases this will allow to avoid typos. There is a matching option on the unit option (`systemd.units."foo.service".name`) as well.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions