diff options
author | Pierre Neidhardt <ambrevar@gmail.com> | 2018-08-13 22:41:49 +0200 |
---|---|---|
committer | Pierre Neidhardt <ambrevar@gmail.com> | 2018-08-21 16:32:22 +0200 |
commit | 15e57838c653be767c9699a71b40e24477a55e7f (patch) | |
tree | 1e9ce80cc2d6e2fae709fbc34a403dc1be230285 | |
parent | 756fc3e1ef1055f0a8324f5482698253135e8e7b (diff) | |
download | gnu-guix-15e57838c653be767c9699a71b40e24477a55e7f.tar gnu-guix-15e57838c653be767c9699a71b40e24477a55e7f.tar.gz |
gnu: asymptote: Use minimal texlive-union.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Replace texlive with texlive-union.
-rw-r--r-- | gnu/packages/plotutils.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index ab0ca08528..0e65cb319f 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm @@ -194,7 +194,15 @@ colors, styles, options and details.") (native-inputs `(("gs" ,ghostscript) ;For tests ("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) ("perl" ,perl))) (inputs @@ -234,6 +242,12 @@ colors, styles, options and details.") ;; "failed to create directory /homeless-shelter/.asy" error. (lambda _ (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)) (add-after 'install 'install-Emacs-data (lambda* (#:key outputs #:allow-other-keys) |