A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.

run

+14
+14
default.nix
··· 13 13 ./flakeModule.nix 14 14 checkmate 15 15 ]; 16 + perSystem = 17 + { pkgs, ... }: 18 + { 19 + packages.default = pkgs.writeShellApplication { 20 + name = "flake-check"; 21 + text = '' 22 + ( 23 + test -f checkmate/flake.nix && cd checkmate || true 24 + nix flake update target 25 + nix flake check 26 + ) 27 + ''; 28 + }; 29 + }; 16 30 }; 17 31 in 18 32 {