with import <nixpkgs> {};
mkShell {
  buildInputs = [
    cargo-udeps
    gdb   # required for rust-gdb
    glab
    graphviz
    llvm
    rustup
  ];
  # needed for fmod-sys crate so bindgen can find libclang.so
  LIBCLANG_PATH="${lib.getLib llvmPackages.libclang}/lib";
  # needed for libfmod.so to dynamically link libstdc++.so.6 and libalsa.so
  LD_LIBRARY_PATH="${lib.getLib stdenv.cc.cc}/lib:${alsa-lib}/lib";
}
