summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2019-07-06 09:29:58 -0700
committerNikolay Amiantov <ab@fmap.me>2019-07-17 11:08:10 +0300
commitd4e5748c1b919718e51cb03d6958cf06ce5d5308 (patch)
tree28fa53be4fe35e84800b84481eff2549079e29f0 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent294751a4fc38b7af013d2d1e92f20ed332576850 (diff)
nixos/openldap: fix assertion
In commit d43dc68db3f414a527cad632a3f1fb868fc1c902, @Mic92 split the rootpw option to allow specifying it in a file kept outside the Nix store, as an alternative to specifying the password directly in the config. Prior to that, rootpw's type was `str`, but in order to allow both alternatives, it had to become `nullOr str` with a default of `null`. So I can see why this assertion, that either rootpw or rootpwFile are specified, makes sense to add here. However, these options aren't used if the configDir option is set, so as written this assertion breaks valid configurations, including the configuration used by nixos/tests/ldap.nix. So this patch fixes the assertion so that it doesn't fire if configDir is set.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions