Open emlautarom1 opened 1 month ago
Note that /usr/lib64/libclang.so.17.0.6
exists and it's a proper shared object. The issue seems to be when trying to use it from the devbox shell
. What I don't understand is why is it picking up the native one instead of the one stored in the Nix store.
Also having this issue.
Apparently there's a nix hook rustPlatform.bindgenHook
but its not clear how to instruct devbox to use hooks.
Worse than that, now my environment outside of devbox also fails until I restart my shell
What happened?
Currently I'm working on a Rust project that uses
librocksdb-sys
as a dependency and I'm unable to build the package when working inside adevbox shell
though I can build it outside.Steps to reproduce
librocksdb-sys
as a dependencyrustup@1.26.0
andlibllvm@17.0.6
to yourdevbox.json
filecargo build
Command
No response
devbox.json
Devbox version
0.10.7
Nix version
nix (Nix) 2.18.1
What system does this bug occur on?
Linux (x86-64)
Debug logs
Relevant parts only: