{ description = "Bevy controls library and examples"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; hearth = { url = "git+https://gitea.hectic-lab.com/hinterland/hearth.git"; inputs.nixpkgs.follows = "nixpkgs"; }; rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, hearth, ... }@inputs: let flake = builtins.warn "Using the `flake` variable may produce a large source closure." ./.; lib = import ./lib { inherit inputs flake self; }; in hearth.lib.forAllSystemsWithPkgs lib.composedOverlays ({ system, pkgs }: { legacyPackages.${system} = pkgs; packages.${system} = import ./package { inherit self inputs flake pkgs; }; devShells.${system} = import ./devshell { inherit self inputs flake pkgs; }; }) // { inherit lib; }; }