nixos/mastodon: add RAILS_ROOT to mastodon-env

This commit is contained in:
Jelle Besseling
2022-02-19 16:42:45 +01:00
committed by Kerstin
parent 4ccf58647a
commit 29366071a4
@@ -92,6 +92,7 @@ let
mastodonEnv = pkgs.writeShellScriptBin "mastodon-env" ''
set -a
export RAILS_ROOT="${cfg.package}"
source "${envFile}"
source /var/lib/mastodon/.secrets_env
eval -- "\$@"