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:
Suhail Singh 2024-03-05 19:50:38 -05:00 committed by Andrew Tropin
parent 915e2fc339
commit 0f2eede9f1
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -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")