mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
sillytavern: fix build by pinning nodejs to v22
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user