diff --git a/pkgs/servers/mastodon/default.nix b/pkgs/servers/mastodon/default.nix index 6c71ac6e7b4f..f1f96a2d0b4b 100644 --- a/pkgs/servers/mastodon/default.nix +++ b/pkgs/servers/mastodon/default.nix @@ -74,6 +74,10 @@ stdenv.mkDerivation rec { yarn cache clean --all rm -rf ~/node_modules/.cache + # Remove workspace "package" as it contains broken symlinks + # See https://github.com/NixOS/nixpkgs/issues/380366 + rm -rf ~/node_modules/@mastodon + # Remove execute permissions find ~/public/assets -type f ! -perm 0555 \ -exec chmod 0444 {} ';'