Skip to content

Commit 89b67e5

Browse files
committed
chore(pre-commit): include enabledPackages from git-hooks in devShell buildInputs
- Ensure any packages declared by git-hooks.nix are present in the dev shell PATH.
1 parent 2b7ca2d commit 89b67e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
pkgs.codex # OpenAI Codex CLI (Rust implementation)
108108
pkgs.opencode # OpenCode AI coding assistant
109109
]
110+
++ self.checks.${system}.pre-commit-check.enabledPackages
110111
# Optional schema/validation tooling (only if available in this nixpkgs)
111112
++ (builtins.filter (x: x != null) [
112113
(if pkgs ? taplo then pkgs.taplo else null)

0 commit comments

Comments
 (0)