Skip to content

Commit

Permalink
chore: update git-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Jun 19, 2024
1 parent 0fc10d3 commit 77784cd
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 73 deletions.
135 changes: 69 additions & 66 deletions local/lock/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions local/lock/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
nixago.inputs.nixago-exts.follows = "";

git-hooks.url = "github:cachix/git-hooks.nix";
git-hooks.inputs.nixpkgs.follows = "nixpkgs";
git-hooks.inputs.flake-compat.follows = "";

fenix.url = "github:nix-community/fenix";
Expand Down
8 changes: 1 addition & 7 deletions units/configs/_git-hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ let
{
config =
{
_module.args.pkgs = nixpkgs.extend (
prev: final: {
nodePackages = prev.nodePackages // {
pyright = prev.pyright;
};
}
);
_module.args.pkgs = nixpkgs;
_module.args.gitignore-nix-src = gitignore-nix-src;
inherit
hooks
Expand Down

0 comments on commit 77784cd

Please sign in to comment.