diff --git a/pkgs/servers/mastodon/default.nix b/pkgs/servers/mastodon/default.nix index 63cae5c19e3c..a3891b7679e4 100644 --- a/pkgs/servers/mastodon/default.nix +++ b/pkgs/servers/mastodon/default.nix @@ -66,6 +66,9 @@ stdenv.mkDerivation rec { bundle exec rails assets:precompile + # Install packages for streaming server while remove others + rm -rf node_modules/* + yarn workspaces focus --production @mastodon/streaming rm -rf node_modules/.cache # Remove workspace "package" as it contains broken symlinks