A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.
at main 15 lines 243 B view raw
1{ inputs, ... }: 2let 3 im = 4 sub: 5 let 6 path = "${inputs.target}/${sub}"; 7 in 8 if builtins.pathExists path then inputs.import-tree path else { }; 9in 10{ 11 imports = [ 12 (im "checkmate.nix") 13 (im "checkmate/modules") 14 ]; 15}