Skip to content

fix(nix): use proxy vendor for pure-go package#3491

Merged
maphew merged 1 commit intogastownhall:mainfrom
maphew:bd-9ok-nix-gms-pure-go
Apr 25, 2026
Merged

fix(nix): use proxy vendor for pure-go package#3491
maphew merged 1 commit intogastownhall:mainfrom
maphew:bd-9ok-nix-gms-pure-go

Conversation

@maphew
Copy link
Copy Markdown
Collaborator

@maphew maphew commented Apr 25, 2026

Summary

  • enable proxyVendor for the Nix Go module build and update the current-main module hash
  • keep the existing gms_pure_go Nix build tag while removing stale ICU flake wiring
  • remove the leftover env dump from postPatch

Based on the focused Nix packaging work from #3278, with contributor attribution preserved in the commit.

Validation

  • scripts/pr-preflight.sh 3278 --repo gastownhall/beads (blocked autonomous replacement/merge because fix(nix): use gms_pure_go, fix vendorHash, drop ICU dependency #3278 is an external contributor PR with a broad diff; used it only as source context)
  • scripts/pr-preflight.sh --search "Nix gms_pure_go vendorHash ICU packaging" --repo gastownhall/beads
  • git diff --check
  • docker run --rm -v /tmp/tmp.LfkGIl1tTK:/work -w /work nixos/nix:latest nix --extra-experimental-features "nix-command flakes" build path:/work#default --print-build-logs

Notes

  • make test was attempted and timed out in unrelated cmd/bd test TestContextUsesExplicitDBFlagForNoDBCommand; most packages completed.
  • A compile-only retry with go test -tags gms_pure_go -run "^$" ./cmd/bd then failed with local disk quota exceeded after the containerized Nix validation.

Build the Nix package with the existing gms_pure_go tag while using proxyVendor to avoid stale vendor/modules.txt consistency checks. Remove the leftover ICU flake wiring and debug env dump from postPatch.

Based on the focused Nix changes from gastownhall#3278.

Co-authored-by: Patrick Stallings <Patrick.Stallings@gad-inc.com>

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@maphew maphew merged commit ae0fc1d into gastownhall:main Apr 25, 2026
40 checks passed
@maphew maphew deleted the bd-9ok-nix-gms-pure-go branch April 25, 2026 22:04
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.

2 participants