Update flake with formatter
This commit is contained in:
parent
8517b10b0a
commit
cb234983ee
2 changed files with 249 additions and 247 deletions
2
flake.lock
generated
2
flake.lock
generated
|
|
@ -249,4 +249,4 @@
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
"version": 7
|
"version": 7
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -200,6 +200,8 @@
|
||||||
(flake-utils.lib.eachDefaultSystem (system: rec {
|
(flake-utils.lib.eachDefaultSystem (system: rec {
|
||||||
packages = pkgs-u { inherit system; };
|
packages = pkgs-u { inherit system; };
|
||||||
|
|
||||||
|
formatter = (pkgs-u { inherit system; }).nixpkgs-fmt;
|
||||||
|
|
||||||
checks = {
|
checks = {
|
||||||
pre-commit-check = pre-commit-hooks.lib.${system}.run {
|
pre-commit-check = pre-commit-hooks.lib.${system}.run {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue