Skip to content

Commit

Permalink
add external fonts support
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyliu16 committed Apr 5, 2024
1 parent 461ec1f commit ebefb99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/mkLatexPdfDocument.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ in
]);

phases = args.phases or ["unpackPhase" "buildPhase" "installPhase"];
FONTCONFIG_FILE = pkgs.makeFontsConf {
fontDirectories =
args.fonts or [];
};

buildPhase =
args.buildPhase
Expand Down

0 comments on commit ebefb99

Please sign in to comment.