clan-core/devShell.nix
Jörg Thalheim 81bc0d7ea4
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 1m26s
devShell: use rm -f to clean up old pre-commit file
2023-09-19 13:20:12 +02:00

23 lines
506 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 -f "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
'';
};
};
}