From 0d7e2380b626c7b367ebe4f5d7d7ba8fa487c283 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 12 Jun 2023 10:30:11 +0200 Subject: 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. --- guix/profiles.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'guix') diff --git a/guix/profiles.scm b/guix/profiles.scm index 05fa5fa862..30ac0d52e4 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -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") -- cgit 1.4.1