gnu: emacs-explain-pause-mode: Fix build.

* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode)[arguments]<#:phases>:
Fix failing tests.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
luishgh 2022-05-16 22:48:45 -03:00 committed by Nicolas Goaziou
parent 9726745eb0
commit 573531e57e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -4724,6 +4724,13 @@ (define-public emacs-explain-pause-mode
(list emacs-buttercup))
(arguments
'(#:tests? #t
#:phases
(modify-phases %standard-phases
;; This causes the byte-compilation before unit-tests to fail.
(add-after 'unpack 'remove-error-on-warn
(lambda _
(substitute* "Makefile"
(("--eval '\\(setq byte-compile-error-on-warn t\\)'") "")))))
;; Don't run case-tests as they will fail to create sockets because
;; the path is too long
#:test-command '("make" "byte-compile" "unit-tests")