mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
ed4d965208
* add nix flake support * feat: add Nix flake maintenance automation * Add Nix Flake CI Validation * fix updatescript, update flake * make update-script compatible with macos --------- Co-authored-by: Tabish Bidiwale <30385142+TabishB@users.noreply.github.com>
982 B
982 B
Why
Maintaining the Nix flake requires manual updates to version and dependency hash when releasing new versions or updating dependencies. This is error-prone and requires maintainers to understand Nix internals. Automating this process ensures consistency and reduces friction for releases.
What Changes
- Add
scripts/update-flake.shto automatically update flake.nix version and dependency hash - Add
scripts/README.mddocumenting all maintenance scripts - Script extracts version from package.json and determines correct pnpm dependency hash automatically
Capabilities
New Capabilities
flake-update-script: Automation script for maintaining flake.nix
Modified Capabilities
- None
Impact
- New files:
scripts/update-flake.sh,scripts/README.md - Maintainer workflow: Version bumps now include running
./scripts/update-flake.sh - Dependencies: Script requires Node.js (already a dependency) and Nix (for maintainers using Nix)