summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-01-05 11:08:21 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-01-05 11:08:21 +0100
commitb43e11643cf3b28a1d53b0779cdd737e7d77193d (patch)
tree960ab30fb50891009feaa251f9cc672326d7d634
parentcc0fb54f7794bf770bff21c0d56c709bf2578b7f (diff)
downloadguix-b43e11643cf3b28a1d53b0779cdd737e7d77193d.tar.gz
gnu: emacs-tagedit: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-tagedit)[arguments]: Add phases to remove
a spurious require.

Change-Id: I37fe4fb9ed0a44514d650d709a49f0e4ae20cbef
-rw-r--r--gnu/packages/emacs-xyz.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 979c55bb99..be34f2ef42 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10105,6 +10105,13 @@ constants and units into an Emacs buffer.")
        (sha256
         (base32 "0kq40g46s8kgiafrhdq99h79rz9h5fvgz59k7ralmf86bl4sdmdb"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'remove-spurious-require
+                 (lambda _
+                   (substitute* "tagedit.el"
+                     (("\\(require 'assoc\\)") "")))))))
     (propagated-inputs
      (list emacs-s emacs-dash))
     (home-page "https://github.com/magnars/tagedit")