mirror of
https://github.com/NorfairKing/autodocodec.git
synced 2024-11-30 03:22:52 +03:00
22 lines
376 B
Nix
22 lines
376 B
Nix
{ sources ? import ./sources.nix }:
|
|
let
|
|
pre-commit-hooks = import sources.pre-commit-hooks;
|
|
in
|
|
{
|
|
run = pre-commit-hooks.run {
|
|
src = ../.;
|
|
hooks = {
|
|
hlint.enable = true;
|
|
hpack.enable = true;
|
|
nixpkgs-fmt.enable = true;
|
|
ormolu.enable = true;
|
|
};
|
|
};
|
|
tools = with pre-commit-hooks; [
|
|
hlint
|
|
hpack
|
|
nixpkgs-fmt
|
|
ormolu
|
|
];
|
|
}
|