mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
zonminder: Fix database name and username
PR #56889 messed up db and use naming while fixing the scope of the initialDatabases property. This patch fixes the issue.
This commit is contained in:
parent
bbfd2be8ed
commit
56aa491ad7
@ -49,8 +49,8 @@ let
|
|||||||
# Database
|
# Database
|
||||||
ZM_DB_TYPE=mysql
|
ZM_DB_TYPE=mysql
|
||||||
ZM_DB_HOST=${cfg.database.host}
|
ZM_DB_HOST=${cfg.database.host}
|
||||||
ZM_DB_NAME=${if cfg.database.createLocally then user else cfg.database.username}
|
ZM_DB_NAME=${cfg.database.name}
|
||||||
ZM_DB_USER=${cfg.database.username}
|
ZM_DB_USER=${if cfg.database.createLocally then user else cfg.database.username}
|
||||||
ZM_DB_PASS=${cfg.database.password}
|
ZM_DB_PASS=${cfg.database.password}
|
||||||
|
|
||||||
# Web
|
# Web
|
||||||
|
Loading…
Reference in New Issue
Block a user