bruno-cli: fix build by pinning to nodejs_22

See https://github.com/NixOS/nixpkgs/issues/474535.
This commit is contained in:
Gutyina Gergő
2026-01-08 20:45:00 +01:00
parent 86a6e0f919
commit c7e7258b4c
+4
View File
@@ -3,6 +3,7 @@
stdenv,
clang_20,
buildNpmPackage,
nodejs_22,
bruno,
pkg-config,
pango,
@@ -21,6 +22,9 @@ buildNpmPackage {
# to keep them in sync with easier maintenance
inherit (bruno) version src npmDepsHash;
# npm dependency install fails with nodejs_24: https://github.com/NixOS/nixpkgs/issues/474535
nodejs = nodejs_22;
npmWorkspace = "packages/bruno-cli";
npmFlags = [ "--legacy-peer-deps" ];