diff options
author | rebecca “wiggles” turner <rbt@sent.as> | 2024-04-02 17:20:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix> | 2024-04-02 17:20:33 +0000 |
commit | 71ef7fd42876231895452d2f1176ad30f6f7ef2e (patch) | |
tree | 524b3d04088ca5cd2b3b348ddbeaa8884c68e946 | |
parent | d2aca15f31f39ab1548ae8410932293504d0eb36 (diff) | |
parent | ca9acf818453dd2fd42d35a9a0c89fc0fce2cad8 (diff) |
Merge "Use upstream `cachix/git-hooks.nix` for pre-commit" into main
-rw-r--r-- | flake.lock | 11 | ||||
-rw-r--r-- | flake.nix | 4 |
2 files changed, 6 insertions, 9 deletions
diff --git a/flake.lock b/flake.lock index 354f57aae..f1f7828c0 100644 --- a/flake.lock +++ b/flake.lock @@ -102,16 +102,15 @@ ] }, "locked": { - "lastModified": 1711562502, - "narHash": "sha256-SLo1yf/lfozph818VME9Y56uhaZWY0juZcj/qJZPPrs=", - "owner": "9999years", + "lastModified": 1711981679, + "narHash": "sha256-pnbHEXJOdGkPrHBdkZLv/a2V09On+V3J4aPE/BfAJC8=", + "owner": "cachix", "repo": "git-hooks.nix", - "rev": "d2f6f9376c38fb0c48526720793a17f10cd3ac10", + "rev": "f3bb95498eaaa49a93bacaf196cdb6cf8e872cdf", "type": "github" }, "original": { - "owner": "9999years", - "ref": "add-default-pre-commit-hooks", + "owner": "cachix", "repo": "git-hooks.nix", "type": "github" } @@ -5,9 +5,7 @@ nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11-small"; nixpkgs-regression.url = "github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2"; pre-commit-hooks = { - # Can go back to `cachix/git-hooks.nix` when this is merged: - # https://github.com/cachix/git-hooks.nix/pull/401 - url = "github:9999years/git-hooks.nix/add-default-pre-commit-hooks"; + url = "github:cachix/git-hooks.nix"; inputs = { flake-compat.follows = "flake-compat"; nixpkgs.follows = "nixpkgs"; |