- Introduced `gemini-cli` as a CLI tool in the x1 configuration. - Added a new overlay for `gemini-cli` package with npm dependencies. - Removed `goose-cli` and `aider-chat` from the existing application list.
16 lines
362 B
Bash
Executable file
16 lines
362 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p nodePackages.npm nix-update
|
|
|
|
set -euo pipefail
|
|
|
|
version=$(npm view @google/gemini-cli version)
|
|
|
|
# Generate updated lock file
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
npm i --package-lock-only @google/gemini-cli@"$version"
|
|
rm -f package.json
|
|
|
|
# Update version and hashes
|
|
cd -
|
|
nix-update gemini-cli --version "$version"
|
|
|