blob: 340336b264e3d717cfd507e4bb41fbe9632427d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ pkgs ? import ../. {} }:
with pkgs;
stdenv.mkDerivation {
name = "rust-shell";
buildInputs = [
cargo clang clippy cargo-edit llvm pkg-config rust-analyzer rustfmt
];
buildCommand = ''
printf "%s\n" $buildInputs > $out
'';
# For bindgen
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
}
|