nixos/mastodon: add RAILS_ROOT to mastodon-env
This commit is contained in:
@@ -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 -- "\$@"
|
||||
|
||||
Reference in New Issue
Block a user