bazelbuild / bazelbuild/rules_rust
How do I get tools into dependencies build scripts?
Open
cargo
needs-triage
question
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
Hi,
I am using crates_universe, but some dependencies fail (such as `rdkafka`) because they need more utils / system libraries than what is available by default in the toolchains.
What can I do to prepare a general environment where build scripts would run?
I saw tool/data here: https://bazelbuild.github.io/rules_rust/cargo.html#cargo_build_script-tools
But how to add tools / data to **all build scripts in the Cargo dependency tree?**
To elaborate, the ideal for me would be to be able to add nixpkgs, if that's possible.
Thanks a lot for any advice :-)
Lukáš
Contributor guide
Assessment
This issue has not been assessed yet.