mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
rmfakecloud: use pnpm 11
pnpm9 is now EOL and should no longer be used (#529285)
Also update fetchPnpmDeps to fetcherVersion=4 as recommended
(cherry picked from commit 851cbf9e1e)
This commit is contained in:
committed by
github-actions[bot]
parent
366aeff079
commit
7634b4e82e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user