diff --git a/lib/mkLatexPdfDocument.nix b/lib/mkLatexPdfDocument.nix index 2a71d04..6a1f60d 100644 --- a/lib/mkLatexPdfDocument.nix +++ b/lib/mkLatexPdfDocument.nix @@ -65,6 +65,10 @@ in ]); phases = args.phases or ["unpackPhase" "buildPhase" "installPhase"]; + FONTCONFIG_FILE = pkgs.makeFontsConf { + fontDirectories = + args.fonts or []; + }; buildPhase = args.buildPhase