librechat: fix build by pinning to nodejs_22 (#476747)

This commit is contained in:
Adam C. Stephens
2026-01-04 04:46:07 +00:00
committed by GitHub
+4
View File
@@ -3,6 +3,7 @@
buildNpmPackage,
fetchNpmDeps,
fetchFromGitHub,
nodejs_22,
pkg-config,
node-gyp,
vips,
@@ -52,6 +53,9 @@ buildNpmPackage rec {
patches = [ ./0004-fix-deps-v080.patch ];
};
# npm dependency install fails with nodejs_24: https://github.com/NixOS/nixpkgs/issues/474535
nodejs = nodejs_22;
nativeBuildInputs = [
pkg-config
node-gyp