Files
beads/default.nix
beads/crew/dave 82611834df feat: add version sync check to bd preflight --check (bd-lfak.5)
- Implement runVersionSyncCheck() to compare version.go and default.nix
- Reports version mismatch as hard failure
- Gracefully skips if default.nix is missing
- Fix version mismatch: update default.nix from 0.37.0 to 0.42.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Executed-By: beads/crew/dave
Rig: beads
Role: crew
2025-12-31 00:08:40 -08:00

25 lines
669 B
Nix

{ pkgs, self }:
pkgs.buildGoModule {
pname = "beads";
version = "0.42.0";
src = self;
# Point to the main Go package
subPackages = [ "cmd/bd" ];
doCheck = false;
# Go module dependencies hash - if build fails with hash mismatch, update with the "got:" value
vendorHash = "sha256-ovG0EWQFtifHF5leEQTFvTjGvc+yiAjpAaqaV0OklgE=";
# Git is required for tests
nativeBuildInputs = [ pkgs.git ];
meta = with pkgs.lib; {
description = "beads (bd) - An issue tracker designed for AI-supervised coding workflows";
homepage = "https://github.com/steveyegge/beads";
license = licenses.mit;
mainProgram = "bd";
maintainers = [ ];
};
}