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>
This commit is contained in:
Michael Rohleder 2022-05-14 23:39:57 +02:00 committed by Liliana Marie Prikler
parent 3443cbf8dd
commit be3b73bd88
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -3677,7 +3677,14 @@ (define-public emacs-dash
(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.")