gnu: texlive-fonts-cm: Use invoke.
* gnu/packages/tex.scm (texlive-fonts-cm)[arguments]: Use invoke and remove vestigial plumbing.
This commit is contained in:
parent
2762023aad
commit
ff440d62dc
|
@ -558,17 +558,18 @@ documents.")
|
||||||
(string-append (getcwd) ":"
|
(string-append (getcwd) ":"
|
||||||
mf "/share/texmf-dist/metafont/base")))
|
mf "/share/texmf-dist/metafont/base")))
|
||||||
(mkdir "build")
|
(mkdir "build")
|
||||||
(every (lambda (font)
|
(for-each (lambda (font)
|
||||||
(format #t "building font ~a\n" font)
|
(format #t "building font ~a\n" font)
|
||||||
(zero? (system* "mf" "-progname=mf"
|
(invoke "mf" "-progname=mf"
|
||||||
"-output-directory=build"
|
"-output-directory=build"
|
||||||
(string-append "\\"
|
(string-append "\\"
|
||||||
"mode:=ljfour; "
|
"mode:=ljfour; "
|
||||||
"mag:=1; "
|
"mag:=1; "
|
||||||
"batchmode; "
|
"batchmode; "
|
||||||
"input "
|
"input "
|
||||||
(basename font ".mf")))))
|
(basename font ".mf"))))
|
||||||
(find-files "." "cm(.*[0-9]+.*|inch)\\.mf$"))))
|
(find-files "." "cm(.*[0-9]+.*|inch)\\.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