{ 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"; }