From 845b7e0a58eca758d59f5f2bb14a0d8b47e4f59e Mon Sep 17 00:00:00 2001 From: dadada Date: Fri, 28 Oct 2022 22:09:21 +0200 Subject: [PATCH] add pre-push hook --- devshell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devshell.nix b/devshell.nix index e18efe9..9d446a9 100644 --- a/devshell.nix +++ b/devshell.nix @@ -47,4 +47,8 @@ command = "nix flake check"; } ]; + + git.hooks = { + pre-push = "nix flake check"; + }; })