add shell for libclang with rust
This commit is contained in:
parent
81a0d5ea57
commit
f00f864a46
|
@ -42,6 +42,7 @@
|
|||
plotter = pkgs.callPackage ./shells/plotter { };
|
||||
rust = pkgs.callPackage ./shells/rust { };
|
||||
rust9x = pkgs.callPackage ./shells/rust9x { };
|
||||
rust-libclang = pkgs.callPackage ./shells/rust-libclang { };
|
||||
ryujinx = pkgs.callPackage ./shells/ryujinx { };
|
||||
uboot = pkgs.callPackage ./shells/uboot { };
|
||||
zephyr = pkgs.callPackage ./shells/zephyr { };
|
||||
|
|
16
shells/rust-libclang/default.nix
Normal file
16
shells/rust-libclang/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
cargo,
|
||||
cargo-expand,
|
||||
llvmPackages,
|
||||
mkShell,
|
||||
rustc,
|
||||
}:
|
||||
|
||||
(mkShell.override { stdenv = llvmPackages.stdenv; }) {
|
||||
packages = [
|
||||
cargo
|
||||
cargo-expand
|
||||
rustc
|
||||
];
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
}
|
Loading…
Reference in a new issue