diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2018-03-13 22:52:05 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2018-03-13 22:52:34 +0200 |
commit | 8d32139df0bdea0b3ac3e68592d148d23b4e5a8e (patch) | |
tree | 2134c313f9366509e3100997e487a82cac866393 /gnu | |
parent | 8d514ae7538d9b0a7afbea5a3bf249c61f0d66cc (diff) | |
download | gnu-guix-8d32139df0bdea0b3ac3e68592d148d23b4e5a8e.tar gnu-guix-8d32139df0bdea0b3ac3e68592d148d23b4e5a8e.tar.gz |
gnu: texlive-latex-base: Use 'invoke'.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Replace
'system*' with 'invoke'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/tex.scm | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 3a30777f20..05a7cd834b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -946,12 +946,10 @@ book).") (mkdir "build") (mkdir "web2c") - (and (zero? (system* "luatex" "-ini" "-interaction=batchmode" - "-output-directory=build" - "unpack.ins")) - (zero? (system* "tex" "-ini" "-interaction=batchmode" - "-output-directory=web2c" - "tex.ini")) + (and (invoke "luatex" "-ini" "-interaction=batchmode" + "-output-directory=build" "unpack.ins") + (invoke "tex" "-ini" "-interaction=batchmode" + "-output-directory=web2c" "tex.ini") ;; LaTeX, pdfetex/pdftex, and XeTeX require e-TeX, which ;; is enabled only in extended mode (activated with a ;; leading asterisk). We should not use luatex here, @@ -959,25 +957,25 @@ book).") ;; incompatible with any other TeX engine. (every (lambda (format) - (zero? (system* "latex" "-ini" "-interaction=batchmode" - "-output-directory=web2c" - "-translate-file=cp227.tcx" - (string-append "*" format ".ini")))) + (invoke "latex" "-ini" "-interaction=batchmode" + "-output-directory=web2c" + "-translate-file=cp227.tcx" + (string-append "*" format ".ini"))) '("latex" "pdflatex" "pdfetex")) (every (lambda (format) - (zero? (system* format "-ini" "-interaction=batchmode" - "-output-directory=web2c" - (string-append "*" format ".ini")))) + (invoke format "-ini" "-interaction=batchmode" + "-output-directory=web2c" + (string-append "*" format ".ini"))) '("xetex" "xelatex")) (every (lambda (format) - (zero? (system* "luatex" "-ini" "-interaction=batchmode" - "-output-directory=web2c" - (string-append format ".ini")))) + (invoke "luatex" "-ini" "-interaction=batchmode" + "-output-directory=web2c" + (string-append format ".ini"))) '("dviluatex" "dvilualatex" "luatex" "lualatex"))))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) |