gnu: texlive-fonts-amsfonts: Use invoke.
* gnu/packages/tex.scm (texlive-fonts-amsfonts)[arguments]: Use invoke and remove vestigial plumbing in the custom build phase.
This commit is contained in:
parent
24fe4b596d
commit
2762023aad
|
@ -773,10 +773,10 @@ symbol fonts.")
|
||||||
(assoc-ref inputs "texlive-fonts-cm")
|
(assoc-ref inputs "texlive-fonts-cm")
|
||||||
"/share/texmf-dist/fonts/source/public/cm")))
|
"/share/texmf-dist/fonts/source/public/cm")))
|
||||||
(mkdir "build")
|
(mkdir "build")
|
||||||
(every (lambda (font)
|
(for-each (lambda (font)
|
||||||
(format #t "building font ~a\n" (basename font ".mf"))
|
(format #t "building font ~a\n" (basename font ".mf"))
|
||||||
(with-directory-excursion (dirname font)
|
(with-directory-excursion (dirname font)
|
||||||
(zero? (system* "mf" "-progname=mf"
|
(invoke "mf" "-progname=mf"
|
||||||
"-output-directory=../build"
|
"-output-directory=../build"
|
||||||
(string-append "\\"
|
(string-append "\\"
|
||||||
"mode:=ljfour; "
|
"mode:=ljfour; "
|
||||||
|
@ -784,8 +784,9 @@ symbol fonts.")
|
||||||
"nonstopmode; "
|
"nonstopmode; "
|
||||||
"input "
|
"input "
|
||||||
(getcwd) "/"
|
(getcwd) "/"
|
||||||
(basename font ".mf"))))))
|
(basename font ".mf")))))
|
||||||
(find-files "." "[0-9]+\\.mf$"))))
|
(find-files "." "[0-9]+\\.mf$"))
|
||||||
|
#t))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in New Issue