{pkgs ? import <nixpkgs> {}}:
let
libPath = with pkgs; lib.makeLibraryPath [
vulkan-loader
];
in pkgs.mkShell {
nativeBuildInputs = with pkgs; [
rustc
cargo
gcc
rust-analyzer
rustfmt
clippy
];
buildInputs = with pkgs; [
pkg-config
];
LD_LIBRARY_PATH = "${libPath}";
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}