Merge "Use upstream cachix/git-hooks.nix
for pre-commit" into main
This commit is contained in:
commit
71ef7fd428
2 changed files with 6 additions and 9 deletions
11
flake.lock
11
flake.lock
|
@ -102,16 +102,15 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711562502,
|
"lastModified": 1711981679,
|
||||||
"narHash": "sha256-SLo1yf/lfozph818VME9Y56uhaZWY0juZcj/qJZPPrs=",
|
"narHash": "sha256-pnbHEXJOdGkPrHBdkZLv/a2V09On+V3J4aPE/BfAJC8=",
|
||||||
"owner": "9999years",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "d2f6f9376c38fb0c48526720793a17f10cd3ac10",
|
"rev": "f3bb95498eaaa49a93bacaf196cdb6cf8e872cdf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "9999years",
|
"owner": "cachix",
|
||||||
"ref": "add-default-pre-commit-hooks",
|
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,9 +5,7 @@
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11-small";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11-small";
|
||||||
nixpkgs-regression.url = "github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2";
|
nixpkgs-regression.url = "github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2";
|
||||||
pre-commit-hooks = {
|
pre-commit-hooks = {
|
||||||
# Can go back to `cachix/git-hooks.nix` when this is merged:
|
url = "github:cachix/git-hooks.nix";
|
||||||
# https://github.com/cachix/git-hooks.nix/pull/401
|
|
||||||
url = "github:9999years/git-hooks.nix/add-default-pre-commit-hooks";
|
|
||||||
inputs = {
|
inputs = {
|
||||||
flake-compat.follows = "flake-compat";
|
flake-compat.follows = "flake-compat";
|
||||||
nixpkgs.follows = "nixpkgs";
|
nixpkgs.follows = "nixpkgs";
|
||||||
|
|
Loading…
Reference in a new issue