cleanTypstSource
Filters a source tree to only contain *.typ
files and special files such as
typst.toml
.
Example
{
outputs = { nixpkgs, typix }: let
system = "x86_64-linux";
typixLib = typix.lib.${system};
in {
packages.${system}.default = typixLib.mkTypstDerivation {
src = typixLib.cleanTypstSource ./.;
};
};
}