1
0
forked from clan/clan-core
clan-core/devShell.nix

23 lines
433 B
Nix
Raw Normal View History

2023-07-28 12:57:23 +00:00
{
2023-07-28 13:03:06 +00:00
perSystem =
{ pkgs
, self'
, config
2023-07-28 13:03:06 +00:00
, ...
}: {
devShells.default = pkgs.mkShell {
inputsFrom = [
config.treefmt.build.devShell
];
2023-07-28 13:03:06 +00:00
packages = [
pkgs.tea
self'.packages.tea-create-pr
self'.packages.merge-after-ci
];
shellHook = ''
ln -sf ../../scripts/pre-commit .git/hooks/pre-commit
'';
2023-07-28 13:03:06 +00:00
};
2023-07-28 12:57:23 +00:00
};
}