clan-core/devShell.nix
Jörg Thalheim f63cfb4462
All checks were successful
checks-impure / test (pull_request) Successful in 6s
checks / test (pull_request) Successful in 32s
replace pre-commit hook with hook in pre-create
2023-09-13 15:53:36 +02:00

23 lines
503 B
Nix

{
perSystem =
{ pkgs
, self'
, config
, ...
}: {
devShells.default = pkgs.mkShell {
packages = [
pkgs.tea
self'.packages.tea-create-pr
self'.packages.merge-after-ci
# treefmt with config defined in ./flake-parts/formatting.nix
config.treefmt.build.wrapper
];
shellHook = ''
# no longer used
rm "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
'';
};
};
}