librechat: fix build by pinning to nodejs_22

See https://github.com/NixOS/nixpkgs/issues/474535.

Fixes https://hydra.nixos.org/build/317530440.
This commit is contained in:
Gutyina Gergő
2026-01-04 01:42:08 +01:00
parent 8352649c16
commit 6053c7b4fa
+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