Skip to content

Commit

Permalink
style: Use the same output naming convention as the flake-parts module
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Jan 17, 2025
1 parent 3672449 commit b668a16
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper);

checks = eachSystem (pkgs: {
formatting = treefmtEval.${pkgs.system}.config.build.check self;
treefmt = treefmtEval.${pkgs.system}.config.build.check self;
});
};
}
2 changes: 1 addition & 1 deletion doc/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper);

checks = eachSystem (pkgs: {
formatting = treefmtEval.${pkgs.system}.config.build.check self;
treefmt = treefmtEval.${pkgs.system}.config.build.check self;
});
};
}
2 changes: 1 addition & 1 deletion go/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper);

checks = eachSystem (pkgs: {
formatting = treefmtEval.${pkgs.system}.config.build.check self;
treefmt = treefmtEval.${pkgs.system}.config.build.check self;
});
};
}
2 changes: 1 addition & 1 deletion treefmt/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
checks = eachSystem (pkgs: {
# Throws an error if any of the source files are not correctly formatted
# when you run `nix flake check --print-build-logs`. Useful for CI
formatting = treefmtEval.${pkgs.system}.config.build.check self;
treefmt = treefmtEval.${pkgs.system}.config.build.check self;
});
};
}
2 changes: 1 addition & 1 deletion zig/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
checks = eachSystem (pkgs: {
# Throws an error if any of the source files are not correctly formatted
# when you run `nix flake check --print-build-logs`. Useful for CI
formatting = treefmtEval.${pkgs.system}.config.build.check self;
treefmt = treefmtEval.${pkgs.system}.config.build.check self;
});
};
}

0 comments on commit b668a16

Please sign in to comment.