about summary refs log tree commit diff
path: root/checks.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-06-19 13:51:20 +0300
committerAzat Bahawi <azat@bahawi.net>2024-06-19 13:51:20 +0300
commit9eb603b80a3d823acfc20c42f777ea26436ca137 (patch)
treea3038492f6525cf7672bb1fddb3293db0223967e /checks.nix
parent2024-06-05 (diff)
2024-06-19
Diffstat (limited to '')
-rw-r--r--checks.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/checks.nix b/checks.nix
index 511b658..33ab57e 100644
--- a/checks.nix
+++ b/checks.nix
@@ -5,7 +5,7 @@
   ...
 }:
 {
-  preCommit = inputs.git-hooks.lib.${system}.run {
+  git-hooks = inputs.git-hooks.lib.${system}.run {
     src = builtins.path {
       name = "src";
       path = ./.;
@@ -43,3 +43,4 @@
     };
   };
 }
+// inputs.self.packages.${system}

Consider giving Nix/NixOS a try! <3