From b668a169b332a8c8ec46c14dba9c79a9bade0d19 Mon Sep 17 00:00:00 2001 From: Akira Komamura Date: Fri, 17 Jan 2025 22:33:41 +0900 Subject: [PATCH] style: Use the same output naming convention as the flake-parts module --- dev/flake.nix | 2 +- doc/flake.nix | 2 +- go/flake.nix | 2 +- treefmt/flake.nix | 2 +- zig/flake.nix | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev/flake.nix b/dev/flake.nix index 22a9c18..33c55ae 100644 --- a/dev/flake.nix +++ b/dev/flake.nix @@ -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; }); }; } diff --git a/doc/flake.nix b/doc/flake.nix index 0140cb8..c59d861 100644 --- a/doc/flake.nix +++ b/doc/flake.nix @@ -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; }); }; } diff --git a/go/flake.nix b/go/flake.nix index a3b5b85..47bd0af 100644 --- a/go/flake.nix +++ b/go/flake.nix @@ -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; }); }; } diff --git a/treefmt/flake.nix b/treefmt/flake.nix index ad5ab8f..0cea4fc 100644 --- a/treefmt/flake.nix +++ b/treefmt/flake.nix @@ -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; }); }; } diff --git a/zig/flake.nix b/zig/flake.nix index 0d216fe..f5b83f6 100644 --- a/zig/flake.nix +++ b/zig/flake.nix @@ -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; }); }; }