gnu: Simplify texlive-default-updmap.cfg.

* gnu/packages/tex.scm (texlive-default-updmap.cfg): Use TEXLIVE-ORIGIN.
(texlive-updmap.cfg):
* guix/profiles.scm (texlive-font-maps): Update accordingly.
This commit is contained in:
Nicolas Goaziou 2023-06-12 10:30:11 +02:00
parent 36d7acf003
commit 0d7e2380b6
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D
2 changed files with 28 additions and 42 deletions

View file

@ -1831,8 +1831,7 @@ MANIFEST."
(let* ((web2c (string-append #$output "/share/texmf-dist/web2c/"))
(maproot (string-append #$output "/share/texmf-dist/fonts/map/"))
(updmap.cfg (string-append web2c "updmap.cfg")))
(mkdir-p web2c)
(copy-file #$updmap.cfg updmap.cfg)
(install-file #$(file-append updmap.cfg "/web2c/updmap.cfg") web2c)
(make-file-writable updmap.cfg)
(let* ((port (open-pipe* OPEN_WRITE
#$(file-append texlive-bin "/bin/updmap-sys")