mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
texlivePackages.xetex: force XeTeX to use fontconfig on Darwin (#354963)
The recent stdenv changes causes XeTeX to use Core Text and Cocoa, which prevents XeTeX from picking up the TeX Live fonts via the FONTCONFIG_FILE variable. This change restores the previous behaviour by forcing XeTeX to use fontconfig.
This commit is contained in:
parent
1593115346
commit
6b59355398
@ -264,6 +264,11 @@ core-big = stdenv.mkDerivation {
|
||||
utils/{tpic2pdftex,vlna,xindy,xml2pmx,xpdfopen}
|
||||
mkdir WorkDir
|
||||
cd WorkDir
|
||||
''
|
||||
# force XeTeX to use fontconfig instead of Core Text, so that fonts can be made available via FONTCONFIG_FILE,
|
||||
# by tricking configure into thinking that the relevant test result is already in the config cache
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
export kpse_cv_have_ApplicationServices=no
|
||||
'';
|
||||
|
||||
configureFlags = common.configureFlags
|
||||
|
Loading…
Reference in New Issue
Block a user