configuration.nix/typos.nix

13 lines
178 B
Nix
Raw Normal View History

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