{ 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,vapore=trace,vapore-client=trace"; RUST_BACKTRACE = "1"; }; formatter = pkgs.nixfmt-rfc-style; } ); }