{ inputs = { nixpkgs.url = "github:nixos/nixpkgs"; }; outputs = inputs: let inherit (inputs) nixpkgs; systems = [ "x86_64-linux" ]; forAllSystems = nixpkgs.lib.genAttrs systems; nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); in { devShells = forAllSystems (system: let pkgs = nixpkgsFor.${system}; in { default = pkgs.mkShell { packages = [ pkgs.rustc pkgs.rust-analyzer pkgs.cargo ]; }; }); }; }