about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2019-02-17 05:11:36 -0800
committerGitHub <noreply@github.com>2019-02-17 05:11:36 -0800
commitb2a04d44843ce36104a755d9f1ba0364a4aaed7c (patch)
tree22b8f435d26f3dad3ba2fe8feb6a28fbe1bf7185 /nixos
parenta44784e81181c971a41c588d93a6cf4bbd1a394c (diff)
parent97bb6939271c4afc59ef75fb87086c618caac66f (diff)
Merge pull request #55922 from tek/master
fix syntax error in tt-rss pre-start script
Diffstat (limited to 'nixos')
-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 cf6f79c92f416..fa42ce8123427 100644
--- a/nixos/modules/services/web-apps/tt-rss.nix
+++ b/nixos/modules/services/web-apps/tt-rss.nix
@@ -562,7 +562,7 @@ let
           callSql = e:
               if cfg.database.type == "pgsql" then ''
                   ${optionalString (cfg.database.password != null) "PGPASSWORD=${cfg.database.password}"} \
-                  ${optionalString (cfg.database.passwordFile != null) "PGPASSWORD=$(cat ${cfg.database.passwordFile}"}) \
+                  ${optionalString (cfg.database.passwordFile != null) "PGPASSWORD=$(cat ${cfg.database.passwordFile})"} \
                   ${pkgs.sudo}/bin/sudo -u ${cfg.user} ${config.services.postgresql.package}/bin/psql \
                     -U ${cfg.database.user} \
                     ${optionalString (cfg.database.host != null) "-h ${cfg.database.host} --port ${toString dbPort}"} \