vultisig-cli: fix for Yarn 4.14

This commit is contained in:
Dimitar Nestorov
2026-04-28 23:28:34 +03:00
committed by K900
parent d0461152d2
commit e2ea1f618b
2 changed files with 30 additions and 2 deletions
+8 -2
View File
@@ -18,11 +18,17 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-4I+N9uKZBzw0AePjS8CiALye/fuykBtpAoYxp+5iTW8=";
};
patches = [
# Remove after upstream updates to Yarn 4.14
# https://github.com/vultisig/vultisig-sdk/blob/main/package.json#L4
./yarn-4.14-support.patch
];
missingHashes = ./missing-hashes.json;
offlineCache = yarn-berry.fetchYarnBerryDeps {
inherit (finalAttrs) src missingHashes;
hash = "sha256-Ob0O69CDQwxQ+CnAtCSyweUahqDz0/g/JnJnAoruzIk=";
inherit (finalAttrs) src missingHashes patches;
hash = "sha256-EW0Vc3502xoL4iDr2hPDXQ39McvvsiBWpMKgZRtF44M=";
};
nativeBuildInputs = [
@@ -0,0 +1,22 @@
diff --git a/.yarnrc.yml b/.yarnrc.yml
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -1,3 +1,6 @@
nodeLinker: node-modules
-yarnPath: .yarn/releases/yarn-4.13.0.cjs
+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