treewide: migrate more to bzlmod
This does migrate nearly everything to bzlmod and away from the "old"
WORKSPACE system. We do have to use some workarounds and there is no
good way to get the path to a repository. This definitively requires
some more love in future CLs but this should cover the basics. See
monogon-dev/monogon#343 for more information.
Change-Id: I0e188d8708b66fcdbdf0adc9143c93160e3395ae
Reviewed-on: https://review.monogon.dev/c/monogon/+/3357
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
Reviewed-by: Leopold Schabel <leo@monogon.tech>
Tested-by: Jenkins CI
diff --git a/build/toolchain/musl-host-gcc/BUILD.bazel b/build/toolchain/musl-host-gcc/BUILD.bazel
index 5b83901..94f2953 100644
--- a/build/toolchain/musl-host-gcc/BUILD.bazel
+++ b/build/toolchain/musl-host-gcc/BUILD.bazel
@@ -29,7 +29,7 @@
has_cpp = False,
host_includes = [],
is_glibc = False,
- sysroot = "external/musl_sysroot",
+ sysroot = "external/_main~_repo_rules~musl_sysroot",
)
filegroup(