Commit a2373016 authored by Norman Gray's avatar Norman Gray Committed by Eric Bailey
Browse files

lilypond: adjust fontconfig on macOS

This addresses issue #209525.  The code changes are from @yurrriq.
parent b33ffacb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
{ 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 ];
  });
}