13 lines
192 B
Nix
13 lines
192 B
Nix
|
{
|
||
|
lib,
|
||
|
stdenvNoCC,
|
||
|
alejandra,
|
||
|
src,
|
||
|
}:
|
||
|
stdenvNoCC.mkDerivation {
|
||
|
name = "fmt-src";
|
||
|
inherit src;
|
||
|
buildPhase = "${lib.getExe alejandra} --check .";
|
||
|
installPhase = "mkdir $out";
|
||
|
}
|