gemini-cli: fix build by pinning nodejs to v22 (#475393)

This commit is contained in:
kirillrdy
2025-12-31 00:17:58 +00:00
committed by GitHub
+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 = ''