diff --git a/pkgs/by-name/vu/vultisig-cli/package.nix b/pkgs/by-name/vu/vultisig-cli/package.nix index 1ac8e0607d3d..d32fc0695366 100644 --- a/pkgs/by-name/vu/vultisig-cli/package.nix +++ b/pkgs/by-name/vu/vultisig-cli/package.nix @@ -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 = [ diff --git a/pkgs/by-name/vu/vultisig-cli/yarn-4.14-support.patch b/pkgs/by-name/vu/vultisig-cli/yarn-4.14-support.patch new file mode 100644 index 000000000000..acf6feee69fe --- /dev/null +++ b/pkgs/by-name/vu/vultisig-cli/yarn-4.14-support.patch @@ -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 +