From e1fd7f13159d92b142b5db37d25f73b9b1397a4e Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sun, 6 Jul 2025 17:34:01 +0200 Subject: [PATCH] Rename git-hooks input --- flake.lock | 10 +++++----- flake.nix | 6 ++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 962ff1c..a772dd0 100644 --- a/flake.lock +++ b/flake.lock @@ -200,7 +200,7 @@ "type": "github" } }, - "git-hooks-nix": { + "git-hooks": { "inputs": { "flake-compat": "flake-compat_3", "gitignore": "gitignore", @@ -220,7 +220,7 @@ "type": "github" } }, - "git-hooks-nix_2": { + "git-hooks-nix": { "inputs": { "flake-compat": "flake-compat_4", "gitignore": "gitignore_2", @@ -243,7 +243,7 @@ "gitignore": { "inputs": { "nixpkgs": [ - "git-hooks-nix", + "git-hooks", "nixpkgs" ] }, @@ -365,7 +365,7 @@ "nix-rice": { "inputs": { "flake-parts": "flake-parts_2", - "git-hooks-nix": "git-hooks-nix_2", + "git-hooks-nix": "git-hooks-nix", "kitty-themes-src": "kitty-themes-src", "nixpkgs": "nixpkgs_3", "nixpkgs-lib": "nixpkgs-lib_3", @@ -590,7 +590,7 @@ "deploy-rs": "deploy-rs", "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", - "git-hooks-nix": "git-hooks-nix", + "git-hooks": "git-hooks", "home-manager": "home-manager", "home-manager-u": "home-manager-u", "nix-rice": "nix-rice", diff --git a/flake.nix b/flake.nix index fa6ee04..7bb0071 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,7 @@ systems.url = "github:nix-systems/default"; flake-parts.url = "github:hercules-ci/flake-parts"; - git-hooks-nix.url = "github:cachix/git-hooks.nix"; + git-hooks.url = "github:cachix/git-hooks.nix"; # agenix-shell.url = "github:aciceri/agenix-shell"; # TODO # agenix-rekey.url = "github:oddlama/agenix-rekey"; # TODO # emanote.url = "github:srid/emanote"; @@ -115,9 +115,7 @@ in inputs.flake-parts.lib.mkFlake { inherit inputs; } { systems = import inputs.systems; - imports = [ - inputs.git-hooks-nix.flakeModule - ]; + imports = [ inputs.git-hooks.flakeModule ]; perSystem = { config, pkgs, system, ... }: { _module.args.pkgs = import inputs.nixpkgs { inherit system;