Skip to content

Commit

Permalink
ci(fix): correct use of flake-utils for formatter and checks
Browse files Browse the repository at this point in the history
Co-authored-by: scottbot95 <[email protected]>
  • Loading branch information
JakobLichterfeld and scottbot95 authored Sep 23, 2024
1 parent aa90f55 commit df26d04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,12 @@
devShells.default = devShell;

# for `nix fmt`
formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper);
formatter = treefmtEval.${pkgs.system}.config.build.wrapper;
# for `nix flake check`
checks = eachSystem (pkgs: {
checks = {
default = moduleTest;
formatting = treefmtEval.${pkgs.system}.config.build.check self;
});
formatting = treefmtEval.config.build.check self;
};
}
))
// {
Expand Down

0 comments on commit df26d04

Please sign in to comment.