lilypond: adjust fontconfig on macOS

This addresses issue #209525.  The code changes are from @yurrriq.
This commit is contained in:
Norman Gray 2023-05-02 11:42:16 +01:00 committed by Eric Bailey
parent b33ffacb8f
commit a237301676

View File

@ -1,6 +1,7 @@
{ stdenv, lib, fetchurl, ghostscript, gyre-fonts, texinfo, imagemagick, texi2html, guile
, python3, gettext, flex, perl, bison, pkg-config, autoreconfHook, dblatex
, fontconfig, freetype, pango, fontforge, help2man, zip, netpbm, groff
, freefont_ttf, makeFontsConf
, makeWrapper, t1utils, boehmgc, rsync
, texlive, tex ? texlive.combine {
inherit (texlive) scheme-small lh metafont epsf fontinst;
@ -62,4 +63,8 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ marcweber yurrriq ];
platforms = platforms.all;
};
FONTCONFIG_FILE = lib.optional stdenv.isDarwin (makeFontsConf {
fontDirectories = [ freefont_ttf ];
});
}