summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2022-01-11 13:51:52 +0100
committertalyz <kim.lindberger@gmail.com>2022-01-18 15:16:23 +0100
commit07b64a2ad72563fbf63be443954aa20406ae87fd (patch)
tree4c38cc644e37178eb6a3d2901f0b4062517c9d94 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parenta0b54a0626634b34b579e52f84464e5ab890afdd (diff)
nixos/bookstack: Add option config to replace extraConfig
The `extraConfig` parameter only handles text - it doesn't support arbitrary secrets and, with the way it's processed in the setup script, it's very easy to accidentally unescape the echoed string and run shell commands / feed garbage to bash. To fix this, implement a new option, `config`, which instead takes a typed attribute set, generates the `.env` file in nix and does arbitrary secret replacement. This option is then used to provide the configuration for all other options which change the `.env` file.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions