me
/
guix
Archived
1
0
Fork 0

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>
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
1 changed files with 7 additions and 0 deletions

View File

@ -4724,6 +4724,13 @@ keep pressing the key until it selects what you want. There's also
(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")