{ description = "Hare for mac"; outputs = { self, nixpkgs, ... }: let supportedSystems = [ "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; in { devShells = forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; hareAs = pkgs.callPackage ./pkgs/hare-as.nix { }; hareCc = pkgs.callPackage ./pkgs/hare-cc.nix { }; hareLd = pkgs.callPackage ./pkgs/hare-ld.nix { }; harec = pkgs.callPackage ./pkgs/harec.nix { inherit hareAs hareCc hareLd; }; hare = pkgs.callPackage ./pkgs/hare.nix { inherit harec hareAs hareCc hareLd; }; in { default = pkgs.mkShell { buildInputs = [ harec hare ]; }; }); }; }