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 = ''