Conversation
51a827e to
5127b03
Compare
|
|
Upstream has been frequently changing the |
|
|
|
|
||
| buildInputs = [ | ||
| ripgrep | ||
| libsecret |
There was a problem hiding this comment.
why we need libsecret here?
There was a problem hiding this comment.
Otherwise
error: Cannot build '/nix/store/52pfvii9p4bn7vxa2d4aj74rxysrhczp-gemini-cli-0.4.1.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/wabxqzhmh3bby7yn8m16va0hqhs8mnay-gemini-cli-0.4.1
Last 25 log lines:
> npm error gyp info spawn args '-Dnode_engine=v8',
> npm error gyp info spawn args '--depth=.',
> npm error gyp info spawn args '--no-parallel',
> npm error gyp info spawn args '--generator-output',
> npm error gyp info spawn args 'build',
> npm error gyp info spawn args '-Goutput_dir=.'
> npm error gyp info spawn args ]
> npm error Package libsecret-1 was not found in the pkg-config search path.
> npm error Perhaps you should add the directory containing `libsecret-1.pc'
> npm error to the PKG_CONFIG_PATH environment variable
> npm error No package 'libsecret-1' found
> npm error gyp: Call to 'pkg-config --cflags libsecret-1' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
> npm error gyp ERR! configure error
> npm error gyp ERR! stack Error: `gyp` failed with exit code: 1
> npm error gyp ERR! stack at ChildProcess.<anonymous> (/nix/store/r4557ald6zn4dzmvgh8na9vwnwzgrjgc-nodejs-22.19.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:317:18)
> npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)
> npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
> npm error gyp ERR! System Linux 6.12.47
> npm error gyp ERR! command "/nix/store/r4557ald6zn4dzmvgh8na9vwnwzgrjgc-nodejs-22.19.0/bin/node" "/nix/store/r4557ald6zn4dzmvgh8na9vwnwzgrjgc-nodejs-22.19.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
> npm error gyp ERR! cwd /build/source/node_modules/keytar
> npm error gyp ERR! node -v v22.19.0
> npm error gyp ERR! node-gyp -v v11.2.0
> npm error gyp ERR! not ok
> npm error Log files were not written due to an error writing to the directory: /nix/store/9fbcw7mda9i9bjgaj8w8nzr8694n9zrg-gemini-cli-0.4.1-npm-deps/_logs
> npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
For full logs, run:
nix log /nix/store/52pfvii9p4bn7vxa2d4aj74rxysrhczp-gemini-cli-0.4.1.drv
https://github.com/google-gemini/gemini-cli/releases/tag/v0.4.1
Move patches to
postPatchto make updates less manualThings done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.