Add mastodon default patches for yarn-4.14-support.patch

This commit is contained in:
Fiona Grzebien 2026-05-16 19:42:42 +02:00
commit b2079ab04d
Signed by: fi
SSH key fingerprint: SHA256:HQgl5VGC4+Yw3ds/0I/DqTge63SPBXvXwhNG/gRW26U
2 changed files with 23 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, nixpkgs-unstable, ... }:
let
tangerineUI = pkgs.fetchgit {
url = "https://github.com/nileane/TangerineUI-for-Mastodon.git";
@ -40,7 +40,7 @@ let
modern-dark: styles/modern-dark.scss" >> $out/config/themes.yml
'';
};
patches = [
patches = prev.mastodon.src.patches ++ [
"${mastodonNekoversePatches}/patches/001_increase_image_dimensions_limit.patch"
"${mastodonNekoversePatches}/patches/002_disable_image_reprocessing.patch"
"${mastodonNekoversePatches}/patches/003_make_toot_cute.patch"

View file

@ -0,0 +1,21 @@
diff --git a/.yarnrc.yml b/.yarnrc.yml
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -1 +1,6 @@
nodeLinker: node-modules
+
+approvedGitRepositories:
+ - "**"
+
+enableScripts: true
diff --git a/yarn.lock b/yarn.lock
--- a/yarn.lock
+++ b/yarn.lock
@@ -2,6 +2,6 @@
# Manual changes might be lost - proceed with caution!
__metadata:
- version: 8
+ version: 9
cacheKey: 10c0