12 lines
218 B
Nix
12 lines
218 B
Nix
{
|
|
pkgs ? import <nixpkgs> {},
|
|
git-hooks,
|
|
...
|
|
}: let
|
|
git-check = git-hooks.lib.${pkgs.system}.run {
|
|
src = ".";
|
|
hooks = {alejandra.enable = true;};
|
|
};
|
|
in
|
|
pkgs.mkShell {inherit (git-check) shellHook;}
|