chore: reformat
This commit is contained in:
parent
b638c4125b
commit
1402ee13cc
57 changed files with 845 additions and 466 deletions
24
checks.nix
24
checks.nix
|
@ -1,20 +1,20 @@
|
|||
{ self
|
||||
, flake-utils
|
||||
, nixpkgs
|
||||
, ...
|
||||
{
|
||||
self,
|
||||
flake-utils,
|
||||
nixpkgs,
|
||||
...
|
||||
}:
|
||||
(flake-utils.lib.eachDefaultSystem (system:
|
||||
(flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
formatter = self.formatter.${system};
|
||||
in
|
||||
{
|
||||
checks = {
|
||||
format = pkgs.runCommand
|
||||
"check-format"
|
||||
{
|
||||
buildInputs = [ formatter ];
|
||||
}
|
||||
"${formatter}/bin/nixpkgs-fmt --check ${./.} && touch $out";
|
||||
format = pkgs.runCommand "check-format" {
|
||||
buildInputs = [ formatter ];
|
||||
} "${formatter}/bin/nixpkgs-fmt --check ${./.} && touch $out";
|
||||
};
|
||||
})).checks
|
||||
}
|
||||
)).checks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue