linkwarden: fix for Yarn 4.14

This commit is contained in:
Dimitar Nestorov
2026-05-09 11:08:15 +03:00
committed by K900
parent 642c2b5c99
commit 8b34fccf2e
2 changed files with 26 additions and 2 deletions
@@ -0,0 +1,20 @@
diff --git a/.yarnrc.yml b/.yarnrc.yml
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -1,2 +1,5 @@
nodeLinker: node-modules
nmMode: hardlinks-local
+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
+6 -2
View File
@@ -89,12 +89,16 @@ stdenvNoCC.mkDerivation (finalAttrs: {
pkgs/by-name/ne/nextjs-ollama-llm-ui/0002-use-local-google-fonts.patch
*/
./01-localfont.patch
# Remove after upstream updates to Yarn 4.14
# https://github.com/linkwarden/linkwarden/blob/main/package.json#L3
./02-yarn-4.14-support.patch
];
missingHashes = ./missing-hashes.json;
yarnOfflineCache = yarn-berry.fetchYarnBerryDeps {
inherit (finalAttrs) src missingHashes;
hash = "sha256-4Qo87kZ0eKHDL4K4yd7rfJwQ5rO1ho2JOvup4nIDMoQ=";
inherit (finalAttrs) src missingHashes patches;
hash = "sha256-riijYhsnIUXwl5AHYfhTiKHZFPc+ORDTLO2GUY7Yl+g=";
};
nativeBuildInputs = [