Loading
gemini-cli: fix file collisions
Multiple Node.js packages in nixpkgs create file collisions when installed together in home-manager or system profiles. Specifically: - `gemini-cli` vs `eslint`: collision on `lib/node_modules/eslint/conf/default-cli-options.js` - `gemini-cli` vs `angular-language-server`: collision on `lib/node_modules/semver/README.md` (with permission differences: 0555 vs 0444) This occurs because these packages install their bundled dependencies directly to `$out/lib/node_modules/`, causing path conflicts when multiple packages provide the same transitive dependencies. The issue stems from packages copying their entire `node_modules` directory to a shared location (`$out/lib/node_modules/`) rather than isolating their dependencies in package-specific directories. Before: ```nix cp -r node_modules "$out/lib/" ``` After: ```nix cp -r node_modules "$out/share/gemini-cli/" ``` This is probably counterproductive in some ways (would ideally share deps?) but at least this fix allows these packages to coexist.