2023-07-28 12:57:23 +00:00
|
|
|
{
|
2023-07-28 13:03:06 +00:00
|
|
|
perSystem =
|
|
|
|
{ pkgs
|
|
|
|
, self'
|
2023-08-25 19:14:23 +00:00
|
|
|
, config
|
2023-07-28 13:03:06 +00:00
|
|
|
, ...
|
|
|
|
}: {
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
packages = [
|
|
|
|
pkgs.tea
|
|
|
|
self'.packages.tea-create-pr
|
|
|
|
self'.packages.merge-after-ci
|
2023-08-25 19:14:23 +00:00
|
|
|
# treefmt with config defined in ./flake-parts/formatting.nix
|
|
|
|
config.treefmt.build.wrapper
|
2023-07-28 13:03:06 +00:00
|
|
|
];
|
2023-08-03 12:25:26 +00:00
|
|
|
shellHook = ''
|
2023-08-08 11:51:00 +00:00
|
|
|
ln -sf ../../scripts/pre-commit "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
|
2023-08-03 12:25:26 +00:00
|
|
|
'';
|
2023-07-28 13:03:06 +00:00
|
|
|
};
|
2023-07-28 12:57:23 +00:00
|
|
|
};
|
|
|
|
}
|