Skip to content
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

bazel: use prebuilt Go toolchain (go.dev/dl) #2796

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

malt3
Copy link
Contributor

@malt3 malt3 commented Jan 5, 2024

Context

We had to switch to a Go toolchain from nixpkgs,
since prebuilt Go toolchain versions were not usable on NixOS. Since Go 1.21, the prebuilt Go toolchain is statically linked and works out of the box.

Reference: golang/go#57007

Proposed change(s)

  • bazel: use prebuilt Go toolchain (go.dev/dl)

Checklist

  • Update docs
  • Add labels (e.g., for changelog category)
  • Is PR title adequate for changelog?
  • Link to Milestone

We had to switch to a Go toolchain from nixpkgs,
since prebuilt Go toolchain versions were not usable on NixOS.
Since Go 1.21, the prebuilt Go toolchain is statically linked
and works out of the box.

Reference: golang/go#57007

This comment was marked as off-topic.

@malt3 malt3 added the no changelog Change won't be listed in release changelog label Jan 5, 2024
@malt3 malt3 requested a review from msanft January 5, 2024 10:40
@malt3
Copy link
Contributor Author

malt3 commented Jan 5, 2024

@msanft Can you test if this works fine on your machine?

@malt3 malt3 marked this pull request as ready for review January 5, 2024 10:50
@malt3 malt3 merged commit 3a4f6ef into main Jan 5, 2024
5 of 6 checks passed
@malt3 malt3 deleted the feat/bazel/prebuilt-go-toolchain branch January 5, 2024 10:52
@msanft
Copy link
Contributor

msanft commented Jan 5, 2024

@msanft Can you test if this works fine on your machine?

Yes, works fine!

EDIT: Sorry, rebuilding took some time. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Change won't be listed in release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants