deltachat-desktop: use pnpm_10 (#529291)

This commit is contained in:
dotlambda
2026-06-08 16:07:18 +00:00
committed by GitHub
2 changed files with 14 additions and 10 deletions
@@ -8,7 +8,7 @@
makeWrapper,
nodejs,
pkg-config,
pnpm_9,
pnpm_10,
fetchPnpmDeps,
pnpmConfigHook,
python3,
@@ -39,6 +39,7 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "deltachat-desktop";
version = "2.51.0";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "deltachat";
@@ -49,18 +50,20 @@ stdenv.mkDerivation (finalAttrs: {
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
pnpm = pnpm_9;
fetcherVersion = 3;
hash = "sha256-OP+FbBxSnyFdeKvhqhmdEr1htFSX+WoPj6Ti8Q+ab/Y=";
pnpm = pnpm_10;
fetcherVersion = 4;
hash = "sha256-BSDeOkT75usLmXdAY8QNO+9YxxchrJH2gjFpTzErPXo=";
};
strictDeps = true;
nativeBuildInputs = [
yq
makeWrapper
nodejs
pkg-config
pnpmConfigHook
pnpm_9
pnpm_10
python3
]
++ lib.optionals stdenv.hostPlatform.isLinux [
+6 -5
View File
@@ -12,7 +12,7 @@
openssl,
perl,
pkg-config,
pnpm_9,
pnpm_10,
pnpmConfigHook,
python3,
rustPlatform,
@@ -23,7 +23,7 @@
}:
let
pnpm = pnpm_9;
pnpm = pnpm_10;
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "deltachat-tauri";
@@ -38,10 +38,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
};
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
pname = "deltachat-desktop";
inherit (finalAttrs) version src;
inherit pnpm;
fetcherVersion = 3;
hash = "sha256-OP+FbBxSnyFdeKvhqhmdEr1htFSX+WoPj6Ti8Q+ab/Y=";
fetcherVersion = 4;
hash = "sha256-BSDeOkT75usLmXdAY8QNO+9YxxchrJH2gjFpTzErPXo=";
};
cargoHash = "sha256-JhsoIQZrU4GVcs/TCIug6y/84gODyEWl0Bl2jRNxL5Y=";