alexandria/documents/nix/lib/default.nix

28 lines
555 B
Nix
Raw Normal View History

{
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;
}
);
2024-10-20 01:51:46 -07:00
indexByName = (import ./indexByName.nix) (defaultArgs // { inherit callTypstProject; });
indexByCourse = (import ./indexByCourse.nix) (defaultArgs // { inherit indexByName; });
}