3
0
Fork 0
forked from mirrors/nixpkgs

texLive: handle graphite2 properly on darwin

This commit is contained in:
John Wiegley 2014-05-31 12:32:29 +00:00
parent 3b3d1d075c
commit 39bd9f8b1b
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ rec {
setupHook = ./setup-hook.sh;
doMainBuild = fullDepEntry ( stdenv.lib.optionalString stdenv.isDarwin ''
export DYLD_LIBRARY_PATH="${poppler}/lib"
export DYLD_LIBRARY_PATH="${poppler}/lib:${graphite2}/lib"
'' + ''
mkdir -p $out
mkdir -p $out/nix-support
@ -95,7 +95,7 @@ rec {
PATH=$PATH:$out/bin mktexlsr $out/share/texmf*
'' + stdenv.lib.optionalString stdenv.isDarwin ''
for prog in $out/bin/*; do
wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${poppler}/lib"
wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${poppler}/lib:${graphite2}/lib"
done
'' ) [ "minInit" "defEnsureDir" "doUnpack" "doMakeInstall" "promoteLibexec" "patchShebangsInterim"];

View file

@ -10941,7 +10941,7 @@ let
libXmu libXext xextproto libSM libICE;
ghostscript = ghostscriptX;
harfbuzz = harfbuzz.override {
withIcu = true; withGraphite2 = !stdenv.isDarwin;
withIcu = true; withGraphite2 = true;
};
};