From 21b095c7a2fc75e8ec991c963e9079071c7d8e28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 18 Jan 2019 14:57:10 +0100 Subject: [PATCH] Fix missing file package for mastodon --- virtual/modules/websites/tools/mastodon/default.nix | 6 +++--- 1 file 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 { uid = config.ids.uids.mastodon; group = "mastodon"; description = "Mastodon user"; - home = "${mastodon.railsRoot}"; + home = mastodon.railsRoot; useDefaultShell = true; }; @@ -73,7 +73,7 @@ in { environment.RAILS_ENV = "production"; environment.SOCKET = mastodon.railsSocket; - path = [ pkgs.bundler ]; + path = [ pkgs.bundler pkgs.file ]; preStart = '' bundle exec rails db:migrate @@ -104,7 +104,7 @@ in { environment.RAILS_ENV="production"; environment.DB_POOL="5"; - path = [ pkgs.bundler ]; + path = [ pkgs.bundler pkgs.file ]; script = '' exec bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push -- 2.41.0