fix: straight-built-in-pseudo-packages: add seq

Avoid installing a newer (or older) and possibly incompatible copy of
seq.

Also, seq would get installed along with its unit tests, and Emacs will
hang trying to natively compile them, so...
This commit is contained in:
Henrik Lissner
2024-08-22 20:04:26 -04:00
parent d4357c173a
commit bc634eaca0

View File

@ -111,7 +111,10 @@ uses a straight or package.el command directly).")
;; changed afterwards.
(setq straight--native-comp-available nil)
;; `let-alist' is built into Emacs 26 and onwards
(add-to-list 'straight-built-in-pseudo-packages 'let-alist))
(add-to-list 'straight-built-in-pseudo-packages 'let-alist)
;; `seq' is built into all Emacs versions Doom supports, so avoid installing
;; newer (and possibly incompatible) versions of seq.
(add-to-list 'straight-built-in-pseudo-packages 'seq))
(defadvice! doom--read-pinned-packages-a (fn &rest args)
"Read `:pin's in `doom-packages' on top of straight's lockfiles."