Skip to content

feat(nix): add flake package and automated source hash updates#52

Merged
AmethystLiang merged 1 commit intostablyai:mainfrom
y0usaf:feat/nix-flake-and-hash-updater
Mar 6, 2026
Merged

feat(nix): add flake package and automated source hash updates#52
AmethystLiang merged 1 commit intostablyai:mainfrom
y0usaf:feat/nix-flake-and-hash-updater

Conversation

@y0usaf
Copy link
Contributor

@y0usaf y0usaf commented Mar 6, 2026

Summary

  • add a flake exposing packages.<system>.agent-slack and default app/package
  • package release binaries via nix/package.nix with per-system pinned hashes in nix/sources.json
  • add scheduled/manual workflow to refresh nix/sources.json from latest GitHub release checksums
  • document Nix run path in README and skill docs

Verification

  • nix build .#agent-slack
  • nix run .#agent-slack -- --version (returns 0.5.2)
  • ./scripts/update-nix-sources.sh

@AmethystLiang AmethystLiang self-requested a review March 6, 2026 23:46
Copy link
Contributor

@AmethystLiang AmethystLiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Clean Nix packaging and well-structured automation. Will follow up with minor hardening patches (GitHub API auth in update script, checksum format verification, etc.).

@AmethystLiang AmethystLiang merged commit 2ed5a89 into stablyai:main Mar 6, 2026
AmethystLiang added a commit that referenced this pull request Mar 7, 2026
feat(nix): add flake package and automated source hash updates
@y0usaf y0usaf deleted the feat/nix-flake-and-hash-updater branch March 7, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants