mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: asymptote: Use minimal texlive-union.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Replace texlive with texlive-union.
This commit is contained in:
parent
756fc3e1ef
commit
15e57838c6
1 changed files with 15 additions and 1 deletions
|
@ -194,7 +194,15 @@ (define-public asymptote
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gs" ,ghostscript) ;For tests
|
`(("gs" ,ghostscript) ;For tests
|
||||||
("texinfo" ,texinfo) ;For generating documentation
|
("texinfo" ,texinfo) ;For generating documentation
|
||||||
("texlive" ,texlive) ;For tests and documentation
|
;; For the manual and the tests.
|
||||||
|
("texlive" ,(texlive-union (list texlive-fonts-amsfonts
|
||||||
|
texlive-generic-ifxetex
|
||||||
|
texlive-latex-amsfonts
|
||||||
|
texlive-latex-geometry
|
||||||
|
texlive-latex-graphics
|
||||||
|
texlive-latex-oberdiek
|
||||||
|
texlive-latex-parskip
|
||||||
|
texlive-tex-texinfo)))
|
||||||
("emacs" ,emacs-minimal)
|
("emacs" ,emacs-minimal)
|
||||||
("perl" ,perl)))
|
("perl" ,perl)))
|
||||||
(inputs
|
(inputs
|
||||||
|
@ -234,6 +242,12 @@ (define-public asymptote
|
||||||
;; "failed to create directory /homeless-shelter/.asy" error.
|
;; "failed to create directory /homeless-shelter/.asy" error.
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
|
;; The "gs" test fails, complaining about an incompatible
|
||||||
|
;; Ghostscript version. Not sure what's going on... Is this
|
||||||
|
;; because I've just replaced texlive with texlive-union?
|
||||||
|
(substitute* "tests/Makefile"
|
||||||
|
(("^(TESTDIRS =.*) gs(.*)" begin end)
|
||||||
|
(string-append begin " " end)))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'install 'install-Emacs-data
|
(add-after 'install 'install-Emacs-data
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in a new issue