File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ use nix
143143
144144- [ alejandra] ( https://github.com/kamadorueda/alejandra )
145145- [ deadnix] ( https://github.com/astro/deadnix )
146+ - [ flake-checker] ( https://github.com/DeterminateSystems/flake-checker )
146147- [ nil] ( https://github.com/oxalica/nil )
147148- [ nixfmt] ( https://github.com/serokell/nixfmt/ )
148149- [ nixpkgs-fmt] ( https://github.com/nix-community/nixpkgs-fmt )
Original file line number Diff line number Diff line change @@ -2239,6 +2239,14 @@ in
22392239 "${ binPath } --format ${ hooks . flake8 . settings . format } ${ extendIgnoreStr } " ;
22402240 types = [ "python" ] ;
22412241 } ;
2242+ flake-checker = {
2243+ name = "flake-checker" ;
2244+ description = "Run health checks on your flake-powered Nix projects." ;
2245+ package = tools . flake-checker ;
2246+ entry = "${ hooks . flake-checker . package } /bin/flake-checker -f" ;
2247+ files = "(^flake\\ .nix$|^flake\\ .lock$)" ;
2248+ pass_filenames = false ;
2249+ } ;
22422250 flynt =
22432251 {
22442252 name = "flynt" ;
Original file line number Diff line number Diff line change 2626, editorconfig-checker
2727, elixir
2828, elmPackages
29+ , flake-checker ? null
2930, fprettify
3031, git-annex
3132, gptcommit ? null
108109 eclint
109110 editorconfig-checker
110111 elixir
112+ flake-checker
111113 fprettify
112114 go
113115 go-tools
You can’t perform that action at this time.
0 commit comments