gemini-cli: fix build by pinning nodejs to v22

This commit is contained in:
Kirill Radzikhovskyy
2025-12-31 06:58:08 +11:00
parent d5146f42b0
commit 73771abf0a
+4 -2
View File
@@ -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 = ''