packages/shells/rust-libclang/default.nix

17 lines
235 B
Nix

{
cargo,
cargo-expand,
llvmPackages,
mkShell,
rustc,
}:
(mkShell.override { stdenv = llvmPackages.stdenv; }) {
packages = [
cargo
cargo-expand
rustc
];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
}