Unverified Commit 0892003d authored by Matt Sturgeon's avatar Matt Sturgeon
Browse files

mastodon: remove workspace package with broken symlinks

parent cdb25816
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 {} ';'