Add mastodon default patches for yarn-4.14-support.patch
This commit is contained in:
parent
80916c6b85
commit
b2079ab04d
2 changed files with 23 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
21
config/hosts/mastodon/yarn.patch
Normal file
21
config/hosts/mastodon/yarn.patch
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue