From f4e8372bc0cd143ea30cd3c28ec581b73649cfe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 16 Mar 2023 12:43:29 +0100 Subject: flake: add check using statix --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 013277b..66dd2e7 100644 --- a/flake.nix +++ b/flake.nix @@ -24,5 +24,8 @@ packages = selfPkgs // {default = selfPkgs.shellrc-bash;}; legacyPackages = pkgs.extend self.overlays.default; formatter = pkgs.alejandra; + checks.statix = + pkgs.runCommandNoCC "check-statix" {} + "${pkgs.statix}/bin/statix check ${./.} && touch $out"; }); } -- cgit v1.2.3