一键导入
nix-update
Update Nix flake inputs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update Nix flake inputs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidelines for Michael Vorburger's personal Git commit style.
Guidelines for Michael Vorburger's preferred Git workflow.
Java coding, testing, and logging conventions.
Guidelines for determining how to test a project based on its contents.
Enforces TypeScript and project-specific coding standards, including Bun usage and the zero-warning policy. Use this skill when creating or modifying any TypeScript or configuration files.
Conventions for naming files within the project.
| name | nix-update |
| description | Update Nix flake inputs. |
| metadata | {"author":"Gemini CLI"} |
This skill provides a robust way to update all flake inputs of a Nix project iteratively. Unlike a bulk nix flake update, this skill verifies each input's update independently to ensure stability. If a check fails, the specific input update is reverted while others continue. Use this when you want to safely update all flake dependencies one by one
For every root input in the flake.lock:
flake.lock.nix flake update <input_name>.nix flake check to ensure the flake remains in a valid state.flake.lock from backup and track it as failed.Execute the update script from the project root:
bash .agents/skills/nix-update/scripts/nix-update.sh
nix: The Nix package manager with flakes enabled.jq: Required to parse the flake inputs.bash: Required to run the automation script.nix flake check fails due to formatting: Because nix flake check typically executes treefmt (or similar formatters) to verify repository-wide format compliance, having unformatted, modified files (even non-nix files like this shell script) in the working tree will cause the check to fail. Solution: Run nix fmt before running this script to ensure all files in your repository meet the formatting standards.