diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-01-02 16:22:14 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-01-02 16:22:14 +0000 |
commit | 058e57f6e94602de57d3704489fac8f0def38301 (patch) | |
tree | 8722fef131bb92930bfc5e7d76fb0388ed84f3e9 | |
parent | a78e5cd4463677b4b56e14b051bfd494a775b0e6 (diff) | |
download | dotfiles-058e57f6e94602de57d3704489fac8f0def38301.tar.gz |
Add workaround for packages needing newer seq
-rw-r--r-- | .emacs.d/lisp/init-packages.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el index 449fe47..8e6fd7a 100644 --- a/.emacs.d/lisp/init-packages.el +++ b/.emacs.d/lisp/init-packages.el @@ -59,6 +59,18 @@ (elpaca diminish) +;; Temporary workaround for packages needing newer version of seq (https://github.com/progfolio/elpaca/issues/216#issuecomment-1868444883)) +(defun +elpaca-unload-seq (e) + (and (featurep 'seq) (unload-feature 'seq t)) + (elpaca--continue-build e)) + +(defun +elpaca-seq-build-steps () + (append (butlast (if (file-exists-p (expand-file-name "seq" elpaca-builds-directory)) + elpaca--pre-built-steps elpaca-build-steps)) + (list '+elpaca-unload-seq 'elpaca--activate-package))) + +(elpaca `(seq :build ,(+elpaca-seq-build-steps))) + ;; Block until current queue processed. (elpaca-wait) |