aboutsummaryrefslogtreecommitdiff
path: root/virtual/modules/websites/tools
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-18 14:57:10 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-18 14:57:10 +0100
commit21b095c7a2fc75e8ec991c963e9079071c7d8e28 (patch)
tree783321ea9e32c356452bb36ffd09ba6bd11b3764 /virtual/modules/websites/tools
parent56eba41617f405624330aa755fcbfc0af68cf64f (diff)
downloadNix-21b095c7a2fc75e8ec991c963e9079071c7d8e28.tar.gz
Nix-21b095c7a2fc75e8ec991c963e9079071c7d8e28.tar.zst
Nix-21b095c7a2fc75e8ec991c963e9079071c7d8e28.zip
Fix missing file package for mastodon
Diffstat (limited to 'virtual/modules/websites/tools')
-rw-r--r--virtual/modules/websites/tools/mastodon/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/virtual/modules/websites/tools/mastodon/default.nix b/virtual/modules/websites/tools/mastodon/default.nix
index 1549ca9..b2170b5 100644
--- a/virtual/modules/websites/tools/mastodon/default.nix
+++ b/virtual/modules/websites/tools/mastodon/default.nix
@@ -21,7 +21,7 @@ in {
21 uid = config.ids.uids.mastodon; 21 uid = config.ids.uids.mastodon;
22 group = "mastodon"; 22 group = "mastodon";
23 description = "Mastodon user"; 23 description = "Mastodon user";
24 home = "${mastodon.railsRoot}"; 24 home = mastodon.railsRoot;
25 useDefaultShell = true; 25 useDefaultShell = true;
26 }; 26 };
27 27
@@ -73,7 +73,7 @@ in {
73 environment.RAILS_ENV = "production"; 73 environment.RAILS_ENV = "production";
74 environment.SOCKET = mastodon.railsSocket; 74 environment.SOCKET = mastodon.railsSocket;
75 75
76 path = [ pkgs.bundler ]; 76 path = [ pkgs.bundler pkgs.file ];
77 77
78 preStart = '' 78 preStart = ''
79 bundle exec rails db:migrate 79 bundle exec rails db:migrate
@@ -104,7 +104,7 @@ in {
104 environment.RAILS_ENV="production"; 104 environment.RAILS_ENV="production";
105 environment.DB_POOL="5"; 105 environment.DB_POOL="5";
106 106
107 path = [ pkgs.bundler ]; 107 path = [ pkgs.bundler pkgs.file ];
108 108
109 script = '' 109 script = ''
110 exec bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push 110 exec bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push