configuration.nix/lint.nix

13 lines
185 B
Nix
Raw Normal View History

2024-06-08 22:28:27 +02:00
{
lib,
stdenvNoCC,
statix,
src,
}:
stdenvNoCC.mkDerivation {
name = "lint-src";
inherit src;
buildPhase = "${lib.getExe statix} check .";
installPhase = "mkdir $out";
}