configuration.nix/fmt.nix

13 lines
192 B
Nix
Raw Normal View History

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