diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-05-29 19:25:08 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-05-29 19:25:08 +0200 |
commit | 7de36f7575330e9ede02728f601a468728e0d0ee (patch) | |
tree | 23319549a83019218ee62391e825c0f100aadada /gnu/packages | |
parent | ef8d95ceb8466327dedd2725e0147bf691e67ee0 (diff) | |
download | guix-7de36f7575330e9ede02728f601a468728e0d0ee.tar.gz guix-7de36f7575330e9ede02728f601a468728e0d0ee.zip |
gnu: emacs-esxml: Limit packaged files.
* gnu/packages/emacs-xyz.scm (emacs-esxml)[arguments]: Use full emacs. Only
package two files. Remove unnecessary phases.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a70c596f72..cf66dc67f8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15310,25 +15310,10 @@ Lisp.") "1xzxmgsg0j72sf1vjh9gjswz3c29js0kqhm7r3jrqrh3a5agdnml")))) (build-system emacs-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-sources - (lambda _ - ;; See: https://github.com/tali713/esxml/pull/28. - (substitute* "css-lite.el" - ((";;; main interface") - (string-append ";;; main interface\n" - "(require 'cl-lib)")) - (("mapcan") - "cl-mapcan") - (("',\\(cl-mapcan #'process-css-rule rules\\)") - "(cl-mapcan #'process-css-rule ',rules)")) - (substitute* "esxml-form.el" - ((",esxml-form-field-defn") - "#'esxml-form-field-defn")) - ;; See: https://github.com/tali713/esxml/issues/25 - (delete-file "esxpath.el") - #t))))) + `(#:emacs ,emacs ;need libxml + ;; XXX: Only the two following files are meant to be packaged. + ;; Byte-compiling the others Elisp files leads to build errors anyway. + #:include (list "esxml.el" "esxml-query.el"))) (propagated-inputs `(("emacs-kv" ,emacs-kv))) (home-page "https://github.com/tali713/esxml/") |