23 lines
526 B
Nix
23 lines
526 B
Nix
{
|
|
pkgs,
|
|
typstPackagesCache,
|
|
typixLib,
|
|
}:
|
|
let
|
|
defaultArgs = {
|
|
inherit pkgs typstPackagesCache typixLib;
|
|
};
|
|
in
|
|
rec {
|
|
cleanTypstSource = (import ./cleanTypstSource.nix) defaultArgs;
|
|
callTypstProject = (import ./callTypstProject.nix) (
|
|
defaultArgs
|
|
// {
|
|
inherit cleanTypstSource;
|
|
}
|
|
);
|
|
indexByName = (import ./indexByName.nix) (defaultArgs // { inherit callTypstProject; });
|
|
indexByCourse = (import ./indexByCourse.nix) (
|
|
defaultArgs // { inherit callTypstProject indexByName; }
|
|
);
|
|
}
|