mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
parent
0435ac8894
commit
954f381972
|
@ -79,6 +79,19 @@ in buildEnv {
|
||||||
-e "s,\$SELFAUTOGRANDPARENT,$out/share,g" \
|
-e "s,\$SELFAUTOGRANDPARENT,$out/share,g" \
|
||||||
"$cnfOrig" > ./texmf.cnf
|
"$cnfOrig" > ./texmf.cnf
|
||||||
|
|
||||||
|
local cnfLuaOrig="$(realpath ./texmfcnf.lua)"
|
||||||
|
rm ./texmfcnf.lua
|
||||||
|
sed \
|
||||||
|
-e 's,texmf-dist,texmf,g' \
|
||||||
|
-e 's,texmf-local,texmf,g' \
|
||||||
|
-e "s,\(TEXMFLOCAL[ ]*=[ ]*\)[^\,]*,\1\"$out/share/texmf\",g" \
|
||||||
|
-e "s,\$SELFAUTOLOC,$out,g" \
|
||||||
|
-e "s,selfautodir:/,$out/share/,g" \
|
||||||
|
-e "s,selfautodir:,$out/share/,g" \
|
||||||
|
-e "s,selfautoparent:/,$out/share/,g" \
|
||||||
|
-e "s,selfautoparent:,$out/share/,g" \
|
||||||
|
"$cnfLuaOrig" > ./texmfcnf.lua
|
||||||
|
|
||||||
rm updmap.cfg
|
rm updmap.cfg
|
||||||
)
|
)
|
||||||
'' +
|
'' +
|
||||||
|
|
Loading…
Reference in a new issue