forked from mirrors/nixpkgs
texLive: handle graphite2 properly on darwin
This commit is contained in:
parent
3b3d1d075c
commit
39bd9f8b1b
|
@ -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"];
|
||||
|
||||
|
|
|
@ -10941,7 +10941,7 @@ let
|
|||
libXmu libXext xextproto libSM libICE;
|
||||
ghostscript = ghostscriptX;
|
||||
harfbuzz = harfbuzz.override {
|
||||
withIcu = true; withGraphite2 = !stdenv.isDarwin;
|
||||
withIcu = true; withGraphite2 = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue