From a6481c661a6f54e7dbd4b7408d96af9207b30726 Mon Sep 17 00:00:00 2001 From: Sander Date: Sat, 23 Nov 2024 20:09:27 +0400 Subject: [PATCH] git-hooks: run before tests, not shell --- src/modules/integrations/git-hooks.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/integrations/git-hooks.nix b/src/modules/integrations/git-hooks.nix index ed974afc0..4df4cdebf 100644 --- a/src/modules/integrations/git-hooks.nix +++ b/src/modules/integrations/git-hooks.nix @@ -40,7 +40,7 @@ in }; "devenv:git-hooks:run" = { exec = "pre-commit run -a"; - before = [ "devenv:enterShell" ]; + before = [ "devenv:enterTest" ]; }; }; };