From 7ae4b4897aeb90681bbc3a70696433c3cd3f07c0 Mon Sep 17 00:00:00 2001 From: Robert Irelan Date: Tue, 19 Feb 2019 16:24:17 -0800 Subject: tt-rss: Fix syntax error in config.php DB_PASS field Empty password case would write `define('DB_PASS', )` instead of `define('DB_PASS', '')`. --- nixos/modules/services/web-apps/tt-rss.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') 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}'); -- cgit 1.4.1