mastodon: remove workspace package with broken symlinks (#381428)

This commit is contained in:
Gaétan Lepage
2025-02-12 12:31:19 +01:00
committed by GitHub
+4
View File
@@ -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 {} ';'