1 2 3 4 5 6 7
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell { nativeBuildInputs = with pkgs; [ rustc cargo gcc ]; buildInputs = with pkgs; [ rustfmt clippy bridge_utils killall cargo-watch]; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; }