2024-10-19 15:13:16 -07:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
typstPackagesCache,
|
|
|
|
typixLib,
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
defaultArgs = {
|
|
|
|
inherit pkgs typstPackagesCache typixLib;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
cleanTypstSource = (import ./cleanTypstSource.nix) defaultArgs;
|
|
|
|
callTypstProject = (import ./callTypstProject.nix) (
|
|
|
|
defaultArgs
|
|
|
|
// {
|
|
|
|
inherit cleanTypstSource;
|
|
|
|
}
|
|
|
|
);
|
2024-10-20 01:17:48 -07:00
|
|
|
parsePkgs = (import ./parsePkgs.nix) (defaultArgs // { inherit callTypstProject; });
|
2024-10-19 15:13:16 -07:00
|
|
|
}
|