diff --git a/default.nix b/default.nix index 6735092..bcc6b9c 100644 --- a/default.nix +++ b/default.nix @@ -27,7 +27,7 @@ let src = ./files/uwsgi.tt-rss.ini.in; mimeTypes = "${pkgs.mime-types}/etc/mime.types"; uwsgiLogger = if withSystemd then "systemd" else "stdio"; - inherit php ttRss; + siteRoot = ttRss; }; tt-rss-service = pkgs.substituteAll { diff --git a/files/uwsgi.tt-rss.ini.in b/files/uwsgi.tt-rss.ini.in index fe4121e..a27ff53 100644 --- a/files/uwsgi.tt-rss.ini.in +++ b/files/uwsgi.tt-rss.ini.in @@ -6,7 +6,7 @@ die-on-term = true logger = @uwsgiLogger@ mime-file = @mimeTypes@ -site-root = @ttRss@ +site-root = @siteRoot@ chdir = %(site-root) static-check = %(site-root) @@ -17,7 +17,6 @@ static-skip-ext = .inc offload-threads = 2 plugins = 0:php -php-ini = @php@/lib/php.ini php-docroot = %(site-root) php-index = index.php php-allowed-ext = .php