about summary refs log tree commit diff
path: root/checks.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-01 03:36:55 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-01 03:36:55 +0300
commit9a20404924fda2587ce4f9769f75369799f34643 (patch)
treea953941a22d6c031e67b267e35a11db72bdd25e3 /checks.nix
parent2024-04-29 (diff)
2024-05-01
Diffstat (limited to '')
-rw-r--r--checks.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/checks.nix b/checks.nix
index a1915fa..86cb452 100644
--- a/checks.nix
+++ b/checks.nix
@@ -1,9 +1,5 @@
-{ inputs, system }:
-let
-  pkgs = inputs.self.legacyPackages.${system};
-in
-{
-  preCommit = inputs.pre-commit.lib.${system}.run {
+inputs: system: pkgs: {
+  preCommit = inputs.git-hooks.lib.${system}.run {
     src = builtins.path {
       name = "nixfiles";
       path = ./.;

Consider giving Nix/NixOS a try! <3