{ description = "Trackling Astro and Rust development environment"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; outputs = { self, nixpkgs }: let systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; forEachSystem = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system}); in { devShells = forEachSystem (pkgs: { default = pkgs.mkShell { packages = [ pkgs.cargo pkgs.clippy pkgs.gnumake pkgs.nodejs_22 pkgs.rustc pkgs.rustfmt ]; }; }); }; }