├── flake.nix └── README.md /flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | outputs = _: { 3 | __functor = _: inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; }; 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # __functor 2 | 3 | Usage example: 4 | 5 | ```nix 6 | { 7 | inputs = { 8 | nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 9 | flake-parts.url = "github:hercules-ci/flake-parts"; 10 | __functor.url = "github:privatevoid-net/__functor"; 11 | }; 12 | 13 | outputs = call: call { 14 | perSystem = { pkgs, ... }: { 15 | packages = { inherit (pkgs) hello; }; 16 | }; 17 | }; 18 | } 19 | ``` 20 | --------------------------------------------------------------------------------