diff --git a/flake.lock b/flake.lock index 258898c..9c15db1 100644 --- a/flake.lock +++ b/flake.lock @@ -293,16 +293,15 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1710862133, - "narHash": "sha256-+e62qOvW6svSU59SOVniBodNe0WkIYgfwXPazUyEBNE=", - "owner": "hercules-ci", + "lastModified": 1710923068, + "narHash": "sha256-6hOpUiuxuwpXXc/xfJsBUJeqqgGI+JMJuLo45aG3cKc=", + "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "d43e4853f578739ac2264eadcd18faa5aeb41889", + "rev": "e611897ddfdde3ed3eaac4758635d7177ff78673", "type": "github" }, "original": { - "owner": "hercules-ci", - "ref": "rustfmt-all", + "owner": "cachix", "repo": "pre-commit-hooks.nix", "type": "github" } diff --git a/flake.nix b/flake.nix index 03e8712..ed97fa8 100644 --- a/flake.nix +++ b/flake.nix @@ -9,8 +9,7 @@ nix-cargo-integration.url = "github:yusdacra/nix-cargo-integration"; nix-cargo-integration.inputs.nixpkgs.follows = "nixpkgs"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - # https://github.com/cachix/pre-commit-hooks.nix/pull/410 - pre-commit-hooks-nix.url = "github:hercules-ci/pre-commit-hooks.nix/rustfmt-all"; + pre-commit-hooks-nix.url = "github:cachix/pre-commit-hooks.nix"; pre-commit-hooks-nix.inputs.nixpkgs.follows = "nixpkgs"; };