diff options
author | Michael Rohleder <mike@rohleder.de> | 2022-05-14 23:39:57 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-05-15 01:31:59 +0200 |
commit | be3b73bd88c83413a0cab705ce7543fb6fedce88 (patch) | |
tree | 0b2e9c1240b424d017674b61dbd3c59a5dcc2890 | |
parent | 3443cbf8ddc3903179bf5c4950bb350872e65c4a (diff) |
gnu: emacs-dash: Fix build with Emacs 28.
* gnu/packages/emacs-xyz.scm (emacs-dash)[phase]:
Add phase 'disable-byte-compile-error-on-warn.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index c18505a681..928ca1c120 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3677,7 +3677,14 @@ restore the saved place.") (base32 "0z6f8y1m9amhg427iz1d4xcyr6n0kj5w7kmiz134p320ixsdnzd8")))) (build-system emacs-build-system) - (arguments `(#:tests? #t)) + (arguments `(#:tests? #t + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-byte-compile-error-on-warn + (lambda _ + (substitute* "Makefile" + (("\\(setq byte-compile-error-on-warn t\\)") + "(setq byte-compile-error-on-warn nil)"))))))) (home-page "https://github.com/magnars/dash.el") (synopsis "Modern list library for Emacs") (description "This package provides a modern list API library for Emacs.") |