{ inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; outputs = { nixpkgs, ... }: let systems = [ "aarch64-darwin" "aarch64-linux" "x86_64-linux" ]; forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f (import nixpkgs { inherit system; }) ); in { devShells = forAllSystems(pkgs: { default = pkgs.mkShell { packages = with pkgs; [ cargo rustc rust-analyzer gcc sqlite sqlx-cli ]; }; }); }; }