clan-core/devShell.nix
lassulus b8fd28af2f
All checks were successful
build / test (push) Successful in 8s
move flake-parts into pkgs or toplevel
2023-08-03 17:11:36 +02:00

23 lines
433 B
Nix

{
perSystem =
{ pkgs
, self'
, config
, ...
}: {
devShells.default = pkgs.mkShell {
inputsFrom = [
config.treefmt.build.devShell
];
packages = [
pkgs.tea
self'.packages.tea-create-pr
self'.packages.merge-after-ci
];
shellHook = ''
ln -sf ../../scripts/pre-commit .git/hooks/pre-commit
'';
};
};
}