formatting: add pre-commit hook to dev shell

This commit is contained in:
DavHau
2023-07-28 18:12:31 +02:00
parent 461bd84205
commit cb307f761a
6 changed files with 145 additions and 5 deletions

View File

@@ -2,9 +2,14 @@
perSystem =
{ pkgs
, self'
, config
, ...
}: {
devShells.default = pkgs.mkShell {
inputsFrom = [
config.pre-commit.devShell
config.treefmt.build.devShell
];
packages = [
pkgs.tea
self'.packages.tea-create-pr