mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-telega: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-telega)[arguments]: Add #:test-command. <#:phases>: Move ‘check’ after ‘install’. Add ‘set-home’ and ‘skip-ensure-dependencies’.
This commit is contained in:
parent
e573ac3d17
commit
82b0fc907d
1 changed files with 12 additions and 1 deletions
|
@ -38832,6 +38832,7 @@ service, and connect it with Emacs via inter-process communication.")
|
|||
emacs-minimal
|
||||
;; Require wide-int support for 32-bit platform.
|
||||
emacs-wide-int)
|
||||
#:test-command #~(list "make" "test_el")
|
||||
#:include #~(cons "^etc\\/" %default-include)
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
@ -38864,7 +38865,17 @@ service, and connect it with Emacs via inter-process communication.")
|
|||
(substitute* "telega-core.el"
|
||||
(("@TELEGA_SHARE@")
|
||||
(string-append (elpa-directory (assoc-ref outputs "out"))
|
||||
"/etc"))))))))
|
||||
"/etc")))))
|
||||
(delete 'check)
|
||||
(add-after 'install 'check (assoc-ref %standard-phases 'check))
|
||||
(add-before 'check 'set-home
|
||||
(lambda _
|
||||
(setenv "HOME" (getenv "TMPDIR"))))
|
||||
(add-before 'check 'skip-ensure-dependencies
|
||||
(lambda _
|
||||
(substitute* "etc/telega-make.el"
|
||||
(("\\(telega-ensure-dependencies\\)" all)
|
||||
(string-append ";; " all))))))))
|
||||
(inputs
|
||||
(list emacs-telega-server ffmpeg tgs2png))
|
||||
(native-inputs '())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue