From bc634eaca0ae57870e92678a4aa59e64abf092ca Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 22 Aug 2024 20:04:26 -0400 Subject: [PATCH] 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... --- lisp/doom-packages.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/doom-packages.el b/lisp/doom-packages.el index 5a6cb7e4e..6b199232e 100644 --- a/lisp/doom-packages.el +++ b/lisp/doom-packages.el @@ -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."