Skip to content
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

Maybe make the document more clear when using with bzlmod #195

Closed
mzhaom opened this issue Aug 15, 2024 · 1 comment
Closed

Maybe make the document more clear when using with bzlmod #195

mzhaom opened this issue Aug 15, 2024 · 1 comment

Comments

@mzhaom
Copy link

mzhaom commented Aug 15, 2024

I'm new to bzlmod, somehow this is what should be done to use this with bzlmod:

Add to MODEL.bazel:

bazel_dep(name = "rules_jsonnet", version = "0.6.0")

In BUILD.bazel

load("@rules_jsonnet//jsonnet:jsonnet.bzl", "jsonnet_library", "jsonnet_to_json")

Note normally it was @io_bazel_rules_jsonnet//jsonnet:jsonnet.bzl based on the name specified in the http_archive

@EdSchouten
Copy link
Collaborator

Hey there!
I'm going to close this, because this is now already covered. Support for WORKSPACE has been removed, meaning that all references in this repo now use @rules_jsonnet instead of @io_bazel_rules_jsonnet. Thanks for reporting this regardless!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants