mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
lilypond: adjust fontconfig on macOS
This addresses issue #209525. The code changes are from @yurrriq.
This commit is contained in:
parent
b33ffacb8f
commit
a237301676
@ -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 ];
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user