summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorCharles Hall <charles@computer.surgery>2023-06-06 08:11:49 -0700
committerYt <happysalada@tuta.io>2023-06-15 06:56:56 -0400
commitb1853ecfcda559eb9e62c1a64e45a56e77a8b5d1 (patch)
tree0dc5de09f28ab0242dd27b849a8873c4d05f8057 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentdd0b5a7e08919a3976d0bdada4d856830f8cd2dc (diff)
nixos/lemmy: only use env var when instructed
Lemmy checks the environment variable before the configuration file; i.e. if the file is used to configure the database but the environment variable is set to anything, the connection will fail because it'll ignore the file. This was the previous behavior. Now, the environment variable will be unset unless the user explicitly chooses to set it, which makes the file-based configuration function correctly. It's also possible to manually set the environment variable, which has the major advantage of working around [this issue][0], which prevents certain setups from working. [0]: https://github.com/LemmyNet/lemmy/issues/2945
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions