diff --git a/pkgs/misc/lilypond/default.nix b/pkgs/misc/lilypond/default.nix index 759ecdc68e4d..ef861068fa49 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 ]; + }); }