A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.
1{
2 flake.flakeModule =
3 { inputs, lib, ... }:
4 {
5
6 imports = [
7 (inputs.flake-file.flakeModules.dendritic or { })
8 (inputs.import-tree ./checkmate)
9 ];
10
11 flake-file.inputs.checkmate = {
12 url = lib.mkDefault "github:vic/checkmate";
13 inputs = {
14 flake-file.follows = "flake-file";
15 flake-parts.follows = "flake-parts";
16 import-tree.follows = "import-tree";
17 nix-unit.follows = "nix-unit";
18 nixpkgs.follows = "nixpkgs";
19 nixpkgs-lib.follows = "nixpkgs";
20 systems.follows = "systems";
21 target.follows = "target";
22 treefmt-nix.follows = "treefmt-nix";
23 };
24 };
25 };
26}