summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorRatchanan Srirattanamet <peathot@hotmail.com>2022-11-05 16:51:30 +0700
committerRatchanan Srirattanamet <peathot@hotmail.com>2023-01-09 02:00:52 +0700
commit86b48684bb028e551bf6c876d0a0668532ea2f4f (patch)
tree9f1263c954acf12917cf9ed4c6c8b5cc6be182d7 /pkgs/development/python-modules/rangehttpserver
parent8093c136a2fadb81a6bc629a33827ed4c39ed55e (diff)
nixos/zoneminder: automatically update Nix store path in config DB
ZM has a configuration which defaults to a file in its installaton path. In NixOS, this means a Nix store path is persisted into the database, which will break when e.g. ZM is upgraded. Workaround this by doing a regular expression-based string replacement SQL command to replace this value. The regular expression should not match if users has changed this config to somewhere else. It will match even if ZM isn't upgraded, in which case it'll replace the value with itself. As such, it should be safe to run this at every ZM startup.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions