From 88e2c240a68b86c0c06a4f03920bbe176d14b8a2 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 14 Mar 2024 22:53:02 +0800 Subject: [PATCH] feat(outputs): pre-commit-check --- outputs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs/default.nix b/outputs/default.nix index 70e7efbd..cbfb1b43 100644 --- a/outputs/default.nix +++ b/outputs/default.nix @@ -94,7 +94,7 @@ in { checks = forAllSystems ( system: { pre-commit-check = pre-commit-hooks.lib.${system}.run { - src = ./.; + src = mylib.relativeToRoot "."; hooks = { alejandra.enable = true; # formatter # deadnix.enable = true; # detect unused variable bindings in `*.nix`