texLive: handle graphite2 properly on darwin
This commit is contained in:
parent
3b3d1d075c
commit
39bd9f8b1b
@ -22,7 +22,7 @@ rec {
|
|||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
doMainBuild = fullDepEntry ( stdenv.lib.optionalString stdenv.isDarwin ''
|
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
|
||||||
mkdir -p $out/nix-support
|
mkdir -p $out/nix-support
|
||||||
@ -95,7 +95,7 @@ rec {
|
|||||||
PATH=$PATH:$out/bin mktexlsr $out/share/texmf*
|
PATH=$PATH:$out/bin mktexlsr $out/share/texmf*
|
||||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
for prog in $out/bin/*; do
|
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
|
done
|
||||||
'' ) [ "minInit" "defEnsureDir" "doUnpack" "doMakeInstall" "promoteLibexec" "patchShebangsInterim"];
|
'' ) [ "minInit" "defEnsureDir" "doUnpack" "doMakeInstall" "promoteLibexec" "patchShebangsInterim"];
|
||||||
|
|
||||||
|
@ -10941,7 +10941,7 @@ let
|
|||||||
libXmu libXext xextproto libSM libICE;
|
libXmu libXext xextproto libSM libICE;
|
||||||
ghostscript = ghostscriptX;
|
ghostscript = ghostscriptX;
|
||||||
harfbuzz = harfbuzz.override {
|
harfbuzz = harfbuzz.override {
|
||||||
withIcu = true; withGraphite2 = !stdenv.isDarwin;
|
withIcu = true; withGraphite2 = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user