mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
14 lines
254 B
Nix
14 lines
254 B
Nix
let
|
|
nix-pre-commit-hooks = import (
|
|
builtins.fetchTarball "https://github.com/cachix/git-hooks.nix/tarball/master"
|
|
);
|
|
in
|
|
{
|
|
pre-commit-check = nix-pre-commit-hooks.run {
|
|
src = ./.;
|
|
hooks = {
|
|
shellcheck.enable = true;
|
|
};
|
|
};
|
|
}
|