From ca9acf818453dd2fd42d35a9a0c89fc0fce2cad8 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Mon, 1 Apr 2024 10:34:30 -0700 Subject: Use upstream `cachix/git-hooks.nix` for pre-commit Change-Id: I6bbc7d6da9accd7d2daffa9d780384df7226670e --- flake.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index be163e386..370149e1e 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; -- cgit v1.2.3