aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix3
1 files changed, 3 insertions, 0 deletions
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";
});
}