Skip to content

feat(segkit): add Nix flake and declare as plugin dependency#68

Merged
abueide merged 2 commits intomainfrom
feat/segkit-flake
May 8, 2026
Merged

feat(segkit): add Nix flake and declare as plugin dependency#68
abueide merged 2 commits intomainfrom
feat/segkit-flake

Conversation

@abueide
Copy link
Copy Markdown
Contributor

@abueide abueide commented May 8, 2026

Summary

Add a Nix flake for the segkit CLI so it can be installed as a devbox package dependency by the android and ios plugins, making it automatically available on PATH for all plugin consumers.

Changes

  • Add segkit/flake.nix with rustPlatform.buildRustPackage derivation
  • Add segkit as a package in both plugins/android/plugin.json and plugins/ios/plugin.json via the GitHub flake reference
  • Extend scripts/dev/rewrite-plugin-urls.sh to rewrite the segkit GitHub flake ref to a local path ref (path:./segkit) for CI testing

Why

The plugins were migrated to use segkit in #58 and #60, but there was no install mechanism for consumers. This adds segkit as a proper Nix-managed dependency so it's automatically built and placed on PATH when devbox evaluates the plugin.


🤖 Generated with Claude Code

Add a flake.nix to segkit/ so it can be installed via Nix as a devbox
package. Both the android and ios plugins now declare segkit as a
package dependency using the GitHub flake reference, ensuring it's
automatically available on PATH for all plugin consumers.

The rewrite-plugin-urls.sh script is extended to rewrite the segkit
GitHub flake ref to a local path ref for CI testing against the current
branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abueide abueide added the feature New feature or functionality label May 8, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abueide abueide marked this pull request as ready for review May 8, 2026 18:52
@abueide abueide merged commit 725aff9 into main May 8, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant