27 lines
555 B
Nix
27 lines
555 B
Nix
{
|
|
pkgs,
|
|
typstPackagesCache,
|
|
typixLib,
|
|
flakeSelf,
|
|
}:
|
|
let
|
|
defaultArgs = {
|
|
inherit
|
|
pkgs
|
|
typstPackagesCache
|
|
typixLib
|
|
flakeSelf
|
|
;
|
|
};
|
|
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 indexByName; });
|
|
}
|