sillytavern: fix build by pinning nodejs to v22

This commit is contained in:
wrvsrx
2026-01-01 10:55:00 +08:00
parent f665af0cdb
commit e29bd3cd9a

View File

@@ -1,6 +1,7 @@
{
buildNpmPackage,
fetchFromGitHub,
nodejs_22,
lib,
}:
buildNpmPackage (finalAttrs: {
@@ -17,6 +18,9 @@ buildNpmPackage (finalAttrs: {
dontNpmBuild = true;
# https://github.com/NixOS/nixpkgs/issues/474535
nodejs = nodejs_22;
# These dirs are not installed automatically.
# And if they were not in place, the app would try to create them at runtime, which is of course impossible to achieve.
postInstall = ''