treewide: add aliases for third_party dependencies
With bzlmod it is currently not possible to access other third_party libraries. By adding an alias inside the root module we can work around this with a fairly moderate hack. We do have a folder and BUILD file for every dependency anyway, so this isn't that bad.
Change-Id: I472194f590fd4c4aa8ba304af70dd8b92ecc5c1e
Reviewed-on: https://review.monogon.dev/c/monogon/+/3231
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/third_party/go/patches/runc-add-cdeps.patch b/third_party/go/patches/runc-add-cdeps.patch
index fd15c15..e980f59 100644
--- a/third_party/go/patches/runc-add-cdeps.patch
+++ b/third_party/go/patches/runc-add-cdeps.patch
@@ -4,7 +4,7 @@
"enosys_unsupported.go",
],
cgo = True,
-+ cdeps = ["@seccomp"],
++ cdeps = ["@@//third_party/seccomp"],
importpath = "github.com/opencontainers/runc/libcontainer/seccomp/patchbpf",
visibility = ["//visibility:public"],
deps = select({