rmfakecloud: use pnpm 11

pnpm9 is now EOL and should no longer be used (#529285)

Also update fetchPnpmDeps to fetcherVersion=4 as recommended
This commit is contained in:
Dominique Martinet 2026-06-08 08:18:01 +09:00 committed by coolGi
commit 851cbf9e1e

View file

@ -3,7 +3,7 @@
fetchFromGitHub,
buildGoModule,
enableWebui ? true,
pnpm_9,
pnpm_11,
fetchPnpmDeps,
pnpmConfigHook,
nodejs,
@ -33,9 +33,9 @@ buildGoModule rec {
;
sourceRoot = "${src.name}/ui";
pnpmLock = "${src}/ui/pnpm-lock.yaml";
pnpm = pnpm_9;
fetcherVersion = 3;
hash = "sha256-pggGMLQ08i8irCDQ1A0u41EXDleaRtSKusDWXuU7khA";
pnpm = pnpm_11;
fetcherVersion = 4;
hash = "sha256-UQT6uYusDw7Hd+1URrSQkyorajih6oF0LSMpPZy9K1w=";
};
preBuild = lib.optionals enableWebui ''
# using sass-embedded fails at executing node_modules/sass-embedded-linux-x64/dart-sass/src/dart
@ -49,7 +49,7 @@ buildGoModule rec {
nativeBuildInputs = lib.optionals enableWebui [
nodejs
pnpmConfigHook
pnpm_9
pnpm_11
];
# ... or don't embed it in the server