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

Add support for Go 1.21 #417

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Add support for Go 1.21 #417

merged 1 commit into from
Nov 3, 2023

Commits on Nov 3, 2023

  1. Add support for Go 1.21

    Go 1.21 added a requirement for a 'go.env' file. Without that file, Go
    will throw an error like:
    ```
    Error in fail: failed to fetch org_golang_google_grpc_cmd_protoc_gen_go_grpc: fetch_repo: google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0: GOPROXY list is not the empty string, but contains no entries
    ```
    
    This commit adds it to the SDK exposed by rules_nixpkgs so that it is
    compatible with rules_go.
    
    See:
    - bazel-contrib/rules_go#3665
    - bazel-contrib/rules_go#3666
    stewartbutler authored and avdv committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    e83f344 View commit details
    Browse the repository at this point in the history