about summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/tt-rss.nix
diff options
context:
space:
mode:
authorRobert Irelan <rirelan@gmail.com>2019-02-19 16:24:17 -0800
committerGitHub <noreply@github.com>2019-02-19 16:24:17 -0800
commit7ae4b4897aeb90681bbc3a70696433c3cd3f07c0 (patch)
tree16bb2e7f5efa24e16815a92bf747f53137416863 /nixos/modules/services/web-apps/tt-rss.nix
parent341f42b64773285da19d024340e0104401ea8864 (diff)
tt-rss: Fix syntax error in config.php DB_PASS field
Empty password case would write `define('DB_PASS', )` instead of `define('DB_PASS', '')`.
Diffstat (limited to 'nixos/modules/services/web-apps/tt-rss.nix')
-rw-r--r--nixos/modules/services/web-apps/tt-rss.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/tt-rss.nix b/nixos/modules/services/web-apps/tt-rss.nix
index fa42ce8123427..f7a3daa5fdd52 100644
--- a/nixos/modules/services/web-apps/tt-rss.nix
+++ b/nixos/modules/services/web-apps/tt-rss.nix
@@ -40,7 +40,7 @@ let
         else if (cfg.database.passwordFile != null) then
           "file_get_contents('${cfg.database.passwordFile}')"
         else
-          ""
+          "''"
       });
       define('DB_PORT', '${toString dbPort}');