about summary refs log tree commit diff
path: root/checks.nix
diff options
context:
space:
mode:
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