Build multi-gitter from source #13

Open
opened 2026-11-07 20:53:36 +00:00 by martin · 0 comments
Owner

Summary

Replace the prebuilt upstream release archives used by nix/multi-gitter.nix with a reproducible Nix build from the multi-gitter source code.

Current state

The vendored derivation installs multi-gitter v0.63.1 from platform-specific GitHub release archives, with four separate URLs and hashes.

Proposed changes

  • Use buildGoModule with a pinned upstream source revision and source hash.
  • Pin Go dependencies with the appropriate vendor hash.
  • Preserve version reporting and shell completions for Bash, Zsh, and Fish.
  • Keep the existing multi-gitter flake package output and dev-shell integration.
  • Preserve support for x86_64-linux, aarch64-linux, x86_64-darwin, and aarch64-darwin.
  • Update the multi-gitter upgrade instructions in AGENTS.md to reflect the source-build workflow.

Acceptance criteria

  • The derivation builds from pinned source rather than downloading a prebuilt executable.
  • nix build .#multi-gitter succeeds on the available host.
  • The built executable reports the expected version and shell completions are installed.
  • The package evaluates for all four supported systems; builds are verified where runners are available.
  • The dev shell still exposes multi-gitter and the upgrade instructions match the new derivation.

Keep this change focused on packaging; an upstream version bump is not required.

## Summary Replace the prebuilt upstream release archives used by `nix/multi-gitter.nix` with a reproducible Nix build from the multi-gitter source code. ## Current state The vendored derivation installs multi-gitter v0.63.1 from platform-specific GitHub release archives, with four separate URLs and hashes. ## Proposed changes - Use `buildGoModule` with a pinned upstream source revision and source hash. - Pin Go dependencies with the appropriate vendor hash. - Preserve version reporting and shell completions for Bash, Zsh, and Fish. - Keep the existing `multi-gitter` flake package output and dev-shell integration. - Preserve support for `x86_64-linux`, `aarch64-linux`, `x86_64-darwin`, and `aarch64-darwin`. - Update the multi-gitter upgrade instructions in `AGENTS.md` to reflect the source-build workflow. ## Acceptance criteria - [ ] The derivation builds from pinned source rather than downloading a prebuilt executable. - [ ] `nix build .#multi-gitter` succeeds on the available host. - [ ] The built executable reports the expected version and shell completions are installed. - [ ] The package evaluates for all four supported systems; builds are verified where runners are available. - [ ] The dev shell still exposes multi-gitter and the upgrade instructions match the new derivation. Keep this change focused on packaging; an upstream version bump is not required.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Personal/migrations#13
No description provided.