summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorclefru <clemens@endorphin.org>2019-05-10 14:50:09 +0200
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-05-10 08:50:09 -0400
commit5d14340cba568dd54f850003f75edd5e55fe6317 (patch)
treee28150769c05fcfdc1301310c0633a4ccd6b8382 /pkgs/tools/typesetting
parentb93d3473d3e2a34868a0d62fd8b6a537d8b1cdab (diff)
texlive: retain texmf/updmap.cfg and generate texmf-config/updmap.cfg (#58220)
As discussed in https://github.com/NixOS/nixpkgs/issues/58026#issuecomment-475825057
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/combine.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/combine.nix b/pkgs/tools/typesetting/tex/texlive/combine.nix
index 1a0a9b877bfe..69fde7784f59 100644
--- a/pkgs/tools/typesetting/tex/texlive/combine.nix
+++ b/pkgs/tools/typesetting/tex/texlive/combine.nix
@@ -126,8 +126,6 @@ in buildEnv {
patchCnfLua "./texmfcnf.lua"
mkdir $out/share/texmf-local
-
- rm updmap.cfg
)
'' +
# updmap.cfg seems like not needing changes
@@ -216,7 +214,7 @@ in buildEnv {
texlinks.sh "$out/bin" && wrapBin
(perl `type -P fmtutil.pl` --sys --all || true) | grep '^fmtutil' # too verbose
#texlinks.sh "$out/bin" && wrapBin # do we need to regenerate format links?
- perl `type -P updmap.pl` --sys --syncwithtrees --force
+ echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force
perl `type -P mktexlsr.pl` ./share/texmf-* # to make sure
'' +
# install (wrappers for) scripts, based on a list from upstream texlive