summaryrefslogtreecommitdiff
path: root/README.md
blob: 79b82598f1e0f7e400d4047fee8041e7d01210b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# flake-checks

Simple, lightweight, and reusable Nix `flake check`s

## Getting started

```sh
nix flake init --template github:getchoo/flake-checks # create a new flake with our template
nix flake check --print-build-logs # and off to the races!
```

## Usage

### `mkChecks :: { pkgs, root }`

Returns an attribute set of our [supported checks](./checks)

## Related projects

- [git-hooks.nix](https://github.com/cachix/git-hooks.nix) (previously `pre-commit-hooks.nix`)