{ description = "A simple, performant, cross-platform debugger"; inputs.nixpkgs.url = "github:NixOS/nixpkgs"; outputs = { self, ... }@inputs: let inherit (inputs.nixpkgs) lib; supportedSystems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ]; forEachSupportedSystem = f: lib.genAttrs supportedSystems ( system: f { inherit system; pkgs = import inputs.nixpkgs { inherit system; config.allowUnfree = true; }; } ); in { devShells = forEachSupportedSystem ( { pkgs, system }: { default = pkgs.mkShellNoCC { packages = with pkgs; [ self.formatter.${system} zig ]; }; } ); formatter = forEachSupportedSystem ({ pkgs, ... }: pkgs.nixfmt); }; }