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

Add toolchain support for rules_cue #462

Open
folliehiyuki opened this issue Dec 9, 2023 · 1 comment
Open

Add toolchain support for rules_cue #462

folliehiyuki opened this issue Dec 9, 2023 · 1 comment
Labels
P3 minor: not priorized type: feature request

Comments

@folliehiyuki
Copy link

Is your feature request related to a problem? Please describe.

It would be nice to have rules_cue use cue package from Nixpkgs.

Describe the solution you'd like

Exposing nixpkgs_cue_configure rule. For bzlmod users, maybe also have additional rules_nixpkgs_cue module.

Describe alternatives you've considered

None.

Additional context

rules_cue doesn't have any usage documentation at the moment, so here is a snippet how CUE is enabled:

bazel_dep(name = "rules_cue", version = "0.4.2")

cue = use_extension("@rules_cue//cue:extensions.bzl", "cue")
cue.download(version = "v0.6.0")

The implementation for the toolchain is here: https://github.com/seh/rules_cue/blob/main/cue/private/tools/cue/toolchain.bzl

@benradf benradf added P3 minor: not priorized type: feature request labels Jan 8, 2024
@benradf
Copy link
Contributor

benradf commented Jan 8, 2024

Thanks for the feature request @folliehiyuki. Supporting more languages and toolchains in rules_nixpkgs is something we're interested in, though I'm not sure when we'll get around to prioritising this work. In the meantime, if you'd like to take this on and submit a pull request, let me know and we can discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 minor: not priorized type: feature request
Projects
None yet
Development

No branches or pull requests

2 participants