alexandria/2024/nix/lib/default.nix

21 lines
407 B
Nix
Raw Normal View History

{
pkgs,
typstPackagesCache,
typixLib,
}:
let
defaultArgs = {
inherit pkgs typstPackagesCache typixLib;
};
in
rec {
cleanTypstSource = (import ./cleanTypstSource.nix) defaultArgs;
callTypstProject = (import ./callTypstProject.nix) (
defaultArgs
// {
inherit cleanTypstSource;
}
);
parsePkgs = (import ./parsePkgs.nix) (defaultArgs // { inherit callTypstProject; });
}