gnu: emacs-ess: Return #t from phases.

* gnu/packages/emacs.scm (emacs-ess)[arguments]: Substitute INVOKE for
SYSTEM* and return #t where otherwise undefined.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-20 03:29:51 +02:00
parent e97ad01e4d
commit 2f48416f47
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 2 deletions

View File

@ -4104,14 +4104,15 @@ programming language.")
(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"))))
#t))
;; FIXME: the texlive-union insists on regenerating fonts. It stores ;; FIXME: the texlive-union insists on regenerating fonts. It stores
;; them in HOME, so it needs to be writeable. ;; them in HOME, so it needs to be writeable.
(add-before 'build 'set-HOME (add-before 'build 'set-HOME
(lambda _ (setenv "HOME" "/tmp") #t)) (lambda _ (setenv "HOME" "/tmp") #t))
(replace 'check (replace 'check
(lambda _ (lambda _
(zero? (system* "make" "test")))))))) (invoke "make" "test")))))))
(inputs (inputs
`(("emacs" ,emacs-minimal) `(("emacs" ,emacs-minimal)
("r-minimal" ,r-minimal))) ("r-minimal" ,r-minimal)))