vic/checkmate
A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.
{ "defaultBranch": "main", "description": "A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.", "fullName": "vic/checkmate", "homepage": "", "language": "Nix", "name": "checkmate", "pushedAt": "2025-11-21T22:49:35Z", "stargazersCount": 7, "updatedAt": "2025-11-21T22:49:39Z", "url": "https://github.com/vic/checkmate"}Checkmate - A Dendritic flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.
Section titled “Checkmate - A Dendritic flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.”
checkmateand vic’s dendritic libs made for you with Love++ and AI—. If you like my work, consider sponsoring
Checks included by default
Section titled “Checks included by default”-
treefmt - nixfmt, deadnix, mdformat, yamlfmt. See
treefmt.nix. -
nix-unit - The flake being checked is available as
inputs.target
Extensible.
Section titled “Extensible.”Checkmate is a collection of Dendritic modules.
Getting started
Section titled “Getting started”# Generate a new project including github CI actionnix flake new -t github:vic/checkmateRunning flake check locally
Section titled “Running flake check locally”nix flake check github:vic/checkmate --override-input target .Running treefmt on your code
Section titled “Running treefmt on your code”# formatting your codenix run github:vic/checkmate#fmt --override-input target .
# checking if code is formattednix run github:vic/checkmate#fmt --override-input target . -- --ciCI Usage
Section titled “CI Usage”On your github action:
on: pull_request: push:jobs: checkmate: name: checkmate runs-on: ubuntu-latest steps: - uses: cachix/install-nix-action@v30 - run: nix flake check -L github:vic/checkmate --override-input target github:$GITHUB_REPOSITORY/$GITHUB_SHAExamples
Section titled “Examples”Some repos being tested with checkmate: