-
Notifications
You must be signed in to change notification settings - Fork 37
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 bzlmod support #118
Add bzlmod support #118
Conversation
Awesome! |
Great @ljessendk But if any of the others have time to review / merge I'll very much trust their verdict. I did not see any commit updating the README, I think it would make sense to update that as well. |
@ljessendk
|
Disable the amd64-freebsd as this toolchain seems to be missing the biber binary.
Bump rules_python to version 0.9.0 to allow the project to build with Bazel 7.3.1.
In preparation for supporting bzlmod the big latex_repositories() method in repositories.bzl is split up into multiple parts.
Add a texlive 'hub' repository with an alias for each texlive package. This has two purposes: - It allows users to reference texlive packages without having to modify and patch the packages/BUILD.bazel file. - It will enable/ease a future migration to bzlmod.
To prepare for the migration to bzlmod we need to use a more recent version of rules_python that uses the pip_parse() method instead of the pip_install().
Implement bzlmod support. This fixes ProdriveTechnologies#116.
Both should be fixed now. |
I tested it successfully with Ubuntu 22.04 (on x64) and macOS Sonma (on M1)! Works great! @solsjo I suggest to merge this! |
Agree! Great that you tested it @Vertexwahn! Havn't had time! |
I think dvisvgm fails because ghostscript is out-of-sync with ubuntu-latest. Which at the time of adding the dvisvgm targets probably was a prevous version of ubuntu. |
Thank you @ljessendk! |
@Vertexwahn the README should probably be update to reflect how to use the repo using bazel modules? |
This MR adds bzlmod support to bazel-latex.
A few changes were needed to do so: