with (import {}); stdenv.mkDerivation { name = "bad-rust-env"; buildInputs = with pkgs; [ # This shell file uses rustup to enable cross-compiling # TODO: this should be fixed at some point; get an arm-rustc, etc rustup rust-analyzer clangStdenv gcc-arm-embedded cargo-flash cargo-binutils openocd ]; }