Unverified Commit c7e7258b authored by Gutyina Gergő's avatar Gutyina Gergő
Browse files

bruno-cli: fix build by pinning to nodejs_22

parent 86a6e0f9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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" ];