{ pkgs ? import ../. {} }: pkgs.callPackage ( { stdenv, cargo, cargo-deny, cargo-edit, clang, clippy, llvmPackages, pkg-config , rust-analyzer, rustPlatform, rustc, rustfmt, }: stdenv.mkDerivation { name = "rust-shell"; nativeBuildInputs = [ cargo cargo-deny cargo-edit clang clippy llvmPackages.llvm pkg-config rust-analyzer rustPlatform.cargoBuildHook rustc rustfmt ]; buildCommand = '' env > $out ''; # For bindgen LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; } ) { }