0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

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
commit a8b911513a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 {} ';'