Commit 73771abf authored by Kirill Radzikhovskyy's avatar Kirill Radzikhovskyy
Browse files

gemini-cli: fix build by pinning nodejs to v22

parent d5146f42
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
  clang_20,
  libsecret,
  ripgrep,
  nodejs,
  nodejs_22,
  nix-update-script,
}:

@@ -23,6 +23,8 @@ buildNpmPackage (finalAttrs: {
    hash = "sha256-gYh8GpuBwkowdBNCYkh7w2MFSTw8xXYO4XbQBezzFlQ=";
  };

  nodejs = nodejs_22;

  npmDepsHash = "sha256-f5s2T+826rZU8IXe4fv26JiR3laPunbKeJSRnst6upw=";

  nativeBuildInputs = [
@@ -63,7 +65,7 @@ buildNpmPackage (finalAttrs: {
  # Prevent npmDeps and python from getting into the closure
  disallowedReferences = [
    finalAttrs.npmDeps
    nodejs.python
    nodejs_22.python
  ];

  installPhase = ''