From a711dab545e8b964914ac01ed06971a5a37ae22b Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 30 Apr 2024 04:07:12 -0400 Subject: init --- checks/stylua/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 checks/stylua/package.nix (limited to 'checks/stylua') diff --git a/checks/stylua/package.nix b/checks/stylua/package.nix new file mode 100644 index 0000000..57b439b --- /dev/null +++ b/checks/stylua/package.nix @@ -0,0 +1,10 @@ +{ + lib, + runCommand, + root, + stylua, +}: +runCommand "check-stylua" {} '' + ${lib.getExe stylua} --check ${root} + touch $out +'' -- cgit v1.2.3