{ description = "Swaymux: sway workspace/output/container navigation"; inputs.nixpkgs.url = "nixpkgs/nixpkgs-unstable"; outputs = { nixpkgs, self, ... }: let systems = [ "x86_64-linux" "aarch64-linux" ]; forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system); in { devShells = forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; in { default = pkgs.mkShell { packages = with pkgs; [ # base toolchain gcc12 clang libgcc qt6.full qtcreator cmake nlohmann_json qt6.qtwayland icu libcxx # nix utils self.formatter.${pkgs.system} nil ]; }; }); formatter = forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; in pkgs.alejandra); packages = forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; swaymux-pkg = (pkgs.qt6Packages.callPackage ./nix/package.nix {}); in { swaymux = swaymux-pkg; default = swaymux-pkg; }); }; }