clan-core/devShell.nix
Jörg Thalheim a328d043d9
All checks were successful
build / test (pull_request) Successful in 26s
fix evaluation of devshell
2023-08-23 14:03:24 +02:00

19 lines
381 B
Nix

{
perSystem =
{ pkgs
, self'
, ...
}: {
devShells.default = pkgs.mkShell {
packages = [
pkgs.tea
self'.packages.tea-create-pr
self'.packages.merge-after-ci
];
shellHook = ''
ln -sf ../../scripts/pre-commit "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
'';
};
};
}