gnu: emacs-ess: Use texlive-union instead of texlive.

* gnu/packages/emacs.scm (emacs-ess)[arguments]: Add phase "set-HOME".
[native-inputs]: Replace texlive with a texlive-union.
This commit is contained in:
Ricardo Wurmus 2017-06-29 01:45:09 +02:00
parent a0aa6b59dd
commit 6309636640
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3084,14 +3084,21 @@ (define-public emacs-ess
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "Makeconf" (substitute* "Makeconf"
(("SHELL = /bin/sh") (("SHELL = /bin/sh")
(string-append "SHELL = " (which "sh"))))))))) (string-append "SHELL = " (which "sh"))))))
;; FIXME: the texlive-union insists on regenerating fonts. It stores
;; them in HOME, so it needs to be writeable.
(add-before 'build 'set-HOME
(lambda _ (setenv "HOME" "/tmp") #t)))))
(inputs (inputs
`(("emacs" ,emacs-minimal) `(("emacs" ,emacs-minimal)
("r-minimal" ,r-minimal))) ("r-minimal" ,r-minimal)))
(native-inputs (native-inputs
`(("perl" ,perl) `(("perl" ,perl)
("texinfo" ,texinfo) ("texinfo" ,texinfo)
("texlive" ,texlive))) ("texlive" ,(texlive-union (list texlive-latex-natbib
texlive-latex-seminar
texlive-latex-hyperref
texlive-tex-texinfo)))))
(home-page "http://ess.r-project.org/") (home-page "http://ess.r-project.org/")
(synopsis "Emacs mode for statistical analysis programs") (synopsis "Emacs mode for statistical analysis programs")
(description "Emacs Speaks Statistics (ESS) is an add-on package for GNU (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU