Skip to content

Conversation

@yebei199
Copy link

@yebei199 yebei199 commented Jan 19, 2026

Summary

  • Add Nix flake support (flake.nix, flake.lock) for reproducible builds and development environments.
  • Update project dependencies and upgrade oh-my-opencode platform-specific binaries to 3.0.0-beta.11.
  • Clean up unused dependencies and update .gitignore for Nix-related build artifacts.

Changes

  • Infrastructure: Added flake.nix and flake.lock to support Nix-based workflows.
    • Defined oh-my-opencode package for Linux and Darwin.
    • Added a node_modules derivation with fixed-output hash for Bun installations.
    • Configured a default devShell with bun and nodejs_24.
  • Dependencies:
    • Upgraded optional platform-specific dependencies from 3.0.0-beta.8 to 3.0.0-beta.11.
    • Removed several unused packages: @openauthjs/openauth, hono, open, xdg-basedir, and their transitive dependencies.
  • Git: Added result/ (Nix build symlink) to .gitignore.

Testing

Verified the build process and environment stability.

# Verify Nix flake build
nix build .#oh-my-opencode

# Standard checks
bun run typecheck
bun test

Related Issues


Summary by cubic

Adds Nix flake support to package oh-my-opencode and provide a reproducible dev environment. This improves onboarding and keeps builds consistent on Linux and macOS.

  • New Features

    • Added flake.nix/flake.lock to build oh-my-opencode for Linux and macOS with fixed-output Bun node_modules, autoPatchelf, and a default devShell (bun, nodejs_24).
    • Added result/ to .gitignore.
  • Dependencies

    • Upgraded optional platform binaries to 3.0.0-beta.11.
    • Removed unused deps: @openauthjs/openauth, hono, open, xdg-basedir.

Written for commit 53d4ca1. Summary will update on new commits.

- Add flake.nix with Nix packaging configuration
- Use Fixed Output Derivation for reproducible node_modules
- Include autoPatchelfHook for native extension support
- Add devShell for development environment
- Update bun.lock to sync with current dependencies
@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2026

All contributors have signed the CLA. Thank you! ✅
Posted by the CLA Assistant Lite bot.

@yebei199
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jan 19, 2026
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

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.

1 participant