Merge pull request 'templates/minimal-flake-parts: add formatter' (#2342) from kenji/clan-core:kenji-add-formatter into main

This commit is contained in:
clan-bot
2024-11-09 22:13:59 +00:00
2 changed files with 11 additions and 1 deletions

View File

@@ -8,7 +8,6 @@
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
};
outputs =
@@ -27,6 +26,7 @@
./checks.nix
./clan.nix
./devshells.nix
./formatter.nix
];
}
);

View File

@@ -0,0 +1,10 @@
_: {
perSystem =
{
pkgs,
...
}:
{
formatter = pkgs.nixfmt;
};
}