From e29bd3cd9a719f4904fc475c2d982b5677d5885f Mon Sep 17 00:00:00 2001 From: wrvsrx Date: Thu, 1 Jan 2026 10:55:00 +0800 Subject: [PATCH] sillytavern: fix build by pinning nodejs to v22 --- pkgs/by-name/si/sillytavern/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/si/sillytavern/package.nix b/pkgs/by-name/si/sillytavern/package.nix index ca81a2dabe7e..342dac2c88ca 100644 --- a/pkgs/by-name/si/sillytavern/package.nix +++ b/pkgs/by-name/si/sillytavern/package.nix @@ -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 = ''