Skip to content

feat(nix): add flake support with automated vendorHash management #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

noamsto
Copy link

@noamsto noamsto commented Jul 17, 2025

Summary

Add comprehensive Nix support with automated vendorHash management for the MCP Language Server project.

Type of Change

  • feat: New feature

Changes Made

  • Added flake.nix with Go module build configuration and development shell
  • Created GitHub Actions workflow for automated vendorHash updates when Go dependencies change
  • Added build verification workflow that validates Nix builds on PRs and pushes
  • Added update-vendor-hash.sh script for local vendorHash management
  • Updated README.md with comprehensive Nix usage instructions and installation options
  • Added NIX_AUTOMATION.md documenting the automated workflow system
  • Generated flake.lock file for reproducible builds

Breaking Changes

  • No breaking changes

Testing

  • Manual testing completed

Additional Notes

The automated workflows will maintain the vendorHash automatically when Go dependencies change, eliminating manual hash updates. The Nix flake enables installation via nix run github:isaacphi/mcp-language-server and provides a development shell with all required tools.

Add comprehensive Nix support including flake configuration, automated
GitHub workflows for vendor hash updates, and development tooling.

- Add flake.nix with buildGoModule configuration
- Add GitHub workflows for automated vendor hash updates and build verification
- Add update-vendor-hash.sh script for local development
- Add NIX_AUTOMATION.md documenting the automation system
- Update README.md with Nix installation and usage instructions

The automation detects Go dependency changes and automatically creates
PRs with updated vendor hashes, ensuring Nix builds stay current with
Go module changes.
@noamsto noamsto closed this by deleting the head repository Jul 20, 2025
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