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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user