diff options
author | Norman Gray <gray@nxg.name> | 2023-05-02 11:42:16 +0100 |
---|---|---|
committer | Eric Bailey <yurrriq@users.noreply.github.com> | 2023-05-05 14:08:21 -0500 |
commit | a23730167676c5aac4a0ac710162220e104e1336 (patch) | |
tree | c07557eb51a1786686f3efde8ed4cd9742c4feb3 /pkgs/misc | |
parent | b33ffacb8f3fbae045844f796514634a683127b9 (diff) |
lilypond: adjust fontconfig on macOS
This addresses issue #209525. The code changes are from @yurrriq.
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/lilypond/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/misc/lilypond/default.nix b/pkgs/misc/lilypond/default.nix index 759ecdc68e4d4..ef861068fa496 100644 --- a/pkgs/misc/lilypond/default.nix +++ b/pkgs/misc/lilypond/default.nix @@ -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 ]; + }); } |