sourcegraph/third_party/com_github_sourcegraph_zoekt
Noah S-C ceaa22ab84
bazel: include zoekt version stamp in github.com/sourcegraph/zoekt.Version (#61464)
As we were including the `go_binary`'s directly in the images, we couldn't set the x_defs attr in order to stamp. Given this, we patch each of the `go_binary` rules to include the x_defs.

## Test plan

```sh
$ VERSION=6.9.50 bazel build @com_github_sourcegraph_zoekt//cmd/zoekt-webserver --stamp --workspace_status_command=./dev/bazel_stamp_vars.sh
...
$ strings bazel-bin/external/com_github_sourcegraph_zoekt/cmd/zoekt-webserver/zoekt-webserver_/zoekt-webserver | grep 8cf8
v0.0.0-20240327102325-8cf8887a903a
```
2024-04-11 17:08:04 +00:00
..
BUILD.bazel bazel: include zoekt version stamp in github.com/sourcegraph/zoekt.Version (#61464) 2024-04-11 17:08:04 +00:00
x_defs_version.patch bazel: include zoekt version stamp in github.com/sourcegraph/zoekt.Version (#61464) 2024-04-11 17:08:04 +00:00