diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-05-01 03:36:55 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-05-01 03:36:55 +0300 |
commit | 9a20404924fda2587ce4f9769f75369799f34643 (patch) | |
tree | a953941a22d6c031e67b267e35a11db72bdd25e3 /checks.nix | |
parent | 2024-04-29 (diff) |
2024-05-01
Diffstat (limited to '')
-rw-r--r-- | checks.nix | 8 |
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 = ./.; |