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

Docs on running tests

+7 -2
+7 -2
README.md
··· 39 39 40 40 # see if code is formatted 41 41 nix run github:vic/checkmate#treefmt -- --ci $PWD 42 - ```` 42 + ``` 43 43 44 44 ### Running nix-unit tests locally 45 45 46 46 ```shell 47 - nix run github:vic/checkmate#check-nix-unit --override-input target path:$PWD -L 47 + # Since nix-unit runs on a sandbox the following will not work (probably a nix-unit issue?) 48 + # nix run github:vic/checkmate#check-nix-unit --override-input target path:$PWD -L 49 + 50 + # Instead you'll need to have to make a commit and run: (--refresh ensures you test the latest commit) 51 + nix run github:vic/checkmate#check-nix-unit --override-input target git:$PWD -L --refresh 48 52 ``` 49 53 50 54 ### CI Usage ··· 69 73 As a fully working example, see: 70 74 71 75 https://github.com/vic/import-tree 76 + ````