nixos/discourse: fix postgres dependency
This was broken during the postgresql.target migration in 41c5662cbe.
This commit is contained in:
@@ -733,14 +733,14 @@ in
|
||||
after = [
|
||||
"redis-discourse.service"
|
||||
"postgresql.target"
|
||||
"discourse-postgresql.target"
|
||||
"discourse-postgresql.service"
|
||||
];
|
||||
bindsTo = [
|
||||
"redis-discourse.service"
|
||||
]
|
||||
++ lib.optionals (cfg.database.host == null) [
|
||||
"postgresql.target"
|
||||
"discourse-postgresql.target"
|
||||
"discourse-postgresql.service"
|
||||
];
|
||||
path = cfg.package.runtimeDeps ++ [
|
||||
postgresqlPackage
|
||||
|
||||
Reference in New Issue
Block a user