{ inputs.nixpkgs.url = "nixpkgs/nixos-21.05"; inputs.flake-utils.url = "github:numtide/flake-utils"; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShell = pkgs.mkShell { nativeBuildInputs = with pkgs; [ cargo rustc pkg-config rustfmt rls clippy bashInteractive nixpkgs-fmt gitFull xxd influxdb ]; buildInputs = with pkgs; [ openssl ]; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; }; }); }