mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
nixos/mastodon: add RAILS_ROOT to mastodon-env
This commit is contained in:
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 -- "\$@"
|
||||
|
|
Loading…
Reference in a new issue