Unverified Commit e29bd3cd authored by wrvsrx's avatar wrvsrx
Browse files

sillytavern: fix build by pinning nodejs to v22

parent f665af0c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{
  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 = ''