bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45316: [PATCH 23/26] gnu: emacs-rjsx-mode: Adjust following emacs-bu


From: Maxim Cournoyer
Subject: bug#45316: [PATCH 23/26] gnu: emacs-rjsx-mode: Adjust following emacs-build-system changes.
Date: Fri, 18 Dec 2020 17:17:20 -0500

* gnu/packages/emacs-xyz.scm (emacs-rjsx-mode)
[phases]{strip-Q-option}: New phase.
---
 gnu/packages/emacs-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 446b25e502..aebe0e5bcf 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21986,7 +21986,13 @@ definition-jumping and type-checking on demand.")
        `(("emacs-js2-mode" ,emacs-js2-mode)))
       (arguments
        `(#:tests? #t
-         #:test-command '("make" "test")))
+         #:test-command '("make" "test")
+         #:phases (modify-phases %standard-phases
+                    (add-after 'unpack 'strip-Q-option
+                      (lambda _
+                        (substitute* "Makefile"
+                          ((" -Q") ""))
+                        #t)))))
       (home-page "https://github.com/felipeochoa/rjsx-mode";)
       (synopsis "Major mode for JSX files")
       (description "This package extends the parser of @code{js2-mode} to
-- 
2.29.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]