My understanding is that Bazel just re-implements whatever the Go tool does. It’s not that different from compiling/linking C. A Nix-aware Go build tool could do the same. I just wonder who has the incentive to maintain something like that.
2 Likes