Skip to content

Fix GOROOT to match Go 1.26 in dev shell#487

Merged
mtlynch merged 2 commits intomasterfrom
fix-goroot
Apr 22, 2026
Merged

Fix GOROOT to match Go 1.26 in dev shell#487
mtlynch merged 2 commits intomasterfrom
fix-goroot

Conversation

@mtlynch
Copy link
Copy Markdown
Owner

@mtlynch mtlynch commented Apr 22, 2026

The Go tools (gotools, gopls, etc.) from nixpkgs are built with Go 1.23 and inject their build-time GOROOT into the shell environment. This explicitly sets GOROOT to point to Go 1.26 to match the actual Go binary.

The Go tools (gotools, gopls, etc.) from nixpkgs are built with Go 1.23
and inject their build-time GOROOT into the shell environment. This
explicitly sets GOROOT to point to Go 1.26 to match the actual Go binary.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mtlynch mtlynch enabled auto-merge (squash) April 22, 2026 00:01
@mtlynch mtlynch disabled auto-merge April 22, 2026 00:02
@mtlynch mtlynch enabled auto-merge (squash) April 22, 2026 00:02
@mtlynch mtlynch merged commit 275020f into master Apr 22, 2026
9 checks passed
@mtlynch mtlynch deleted the fix-goroot branch April 22, 2026 00:05
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant