{ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, utils, }: utils.lib.eachDefaultSystem ( system: let pkgs = import nixpkgs { inherit system; }; in { devShells.default = with pkgs; mkShell { packages = [ rustPackages.cargo rustPackages.rustc rustPackages.rustfmt rustPackages.clippy protobuf ]; RUST_SRC_PATH = "${rustPackages.rustPlatform.rustLibSrc}"; RUST_LOG = "debug,vapored=trace,vapore-client=trace"; }; formatter = pkgs.nixfmt-rfc-style; } ); }