gnu: fastcap: Use texlive-tiny.

* gnu/packages/engineering.scm (fastcap)[native-inputs]: Replace texlive with
texlive-tiny.
[arguments]: Fix indentation; set HOME in "make-pdf" phase to avoid font
errors with texlive-tiny.
This commit is contained in:
Ricardo Wurmus 2017-11-08 17:15:24 +01:00
parent 7e3aca2b78
commit 697e341e74
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 63 additions and 59 deletions

View File

@ -314,7 +314,10 @@ featuring various improvements and bug fixes.")))
"fastcap-mulGlobal.patch")))) "fastcap-mulGlobal.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("texlive" ,texlive) ;; FIXME: with texlive-tiny citation references are rendered as question
;; marks. During the build warnings like these are printed:
;; LaTeX Warning: Citation `nabors91' on page 2 undefined on input line 3.
`(("texlive" ,texlive-tiny)
("ghostscript" ,ghostscript))) ("ghostscript" ,ghostscript)))
(arguments (arguments
`(#:make-flags '("CC=gcc" "RM=rm" "SHELL=sh" "all") `(#:make-flags '("CC=gcc" "RM=rm" "SHELL=sh" "all")
@ -365,6 +368,7 @@ featuring various improvements and bug fixes.")))
#t)) #t))
(add-before 'install 'make-pdf (add-before 'install 'make-pdf
(lambda _ (lambda _
(setenv "HOME" "/tmp") ; FIXME: for texlive font cache
(with-directory-excursion "doc" (with-directory-excursion "doc"
(and (and
(every (lambda (file) (every (lambda (file)