mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
1c7f0fab66
commit
851cbf9e1e
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue