diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-06-27 18:31:30 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-06-28 07:03:26 -0700 |
| commit | 4500d71f1dc72d4d3315ac8f90ae2f0ae22c7a5b (patch) | |
| tree | b9a1e2987eb2bdd84c61ef09bf84260b6f650f81 /flake.lock | |
| parent | ref(flake): import tools top-level module (diff) | |
| download | infra-4500d71f1dc72d4d3315ac8f90ae2f0ae22c7a5b.tar.gz | |
feat(flake): add pre-commit hooks
And configure them to run nixpkgs-fmt and shellcheck.
Change-Id: I0aa2025e368b80c5e7d90a4dc05448494525e31e
Reviewed-on: https://cl.fcuny.net/c/world/+/590
Reviewed-by: Franck Cuny <franck@fcuny.net>
Tested-by: CI
Diffstat (limited to 'flake.lock')
| -rw-r--r-- | flake.lock | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -149,6 +149,30 @@ "type": "github" } }, + "pre-commit-hooks": { + "inputs": { + "flake-utils": [ + "futils" + ], + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1656169028, + "narHash": "sha256-y9DRauokIeVHM7d29lwT8A+0YoGUBXV3H0VErxQeA8s=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "db3bd555d3a3ceab208bed48f983ccaa6a71a25e", + "type": "github" + }, + "original": { + "owner": "cachix", + "ref": "master", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -157,7 +181,8 @@ "home-manager": "home-manager", "nixpkgs": "nixpkgs_2", "nixpkgs-unstable": "nixpkgs-unstable", - "nur": "nur" + "nur": "nur", + "pre-commit-hooks": "pre-commit-hooks" } } }, |
