From 573531e57ed51244e0208a2dd9cdb0457c7692c4 Mon Sep 17 00:00:00 2001 From: luishgh <51053603+luishgh@users.noreply.github.com> Date: Mon, 16 May 2022 22:48:45 -0300 Subject: 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 --- gnu/packages/emacs-xyz.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 146e1aedb1..4195fe2e7a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -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") -- cgit v1.2.3