mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: emacs-ox-tufte: Simplify test invocation.
* gnu/packages/emacs-xyz.scm (emacs-ox-tufte): Simplify the test invocation using the --use-emacsloadpath option in emacs-eldev@1.9. Change-Id: Ie61a336251b2670872cc8d049cc1c62284b7f350 Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
parent
915e2fc339
commit
0f2eede9f1
1 changed files with 1 additions and 16 deletions
|
@ -33691,22 +33691,7 @@ (define-public emacs-ox-tufte
|
|||
(list
|
||||
#:include #~(cons "^src/" %default-include)
|
||||
#:tests? #t
|
||||
;; <https://github.com/emacs-eldev/eldev/issues/99#issuecomment-1912637609>
|
||||
#:test-command #~(list "eldev" "-X" "-dtTC" "test")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'configure-eldev
|
||||
(lambda _
|
||||
(setenv "HOME"
|
||||
(string-append (getcwd) "/.eldev"))
|
||||
(with-output-to-file "Eldev-local"
|
||||
(lambda _
|
||||
(format #t "~s"
|
||||
'(dolist (d (split-string (getenv
|
||||
"EMACSLOADPATH")
|
||||
":" t))
|
||||
(ignore-errors
|
||||
(eldev-use-local-dependency d)))))))))))
|
||||
#:test-command #~(list "eldev" "--use-emacsloadpath" "-dtTC" "test")))
|
||||
(native-inputs (list emacs-buttercup emacs-eldev))
|
||||
(propagated-inputs (list emacs-org))
|
||||
(home-page "https://github.com/ox-tufte/ox-tufte")
|
||||
|
|
Loading…
Reference in a new issue