fix(cli): add extra package checks

So the doctor doesn't complain about pseudo packages, like revealjs,
which is not actually an Emacs package, we're just using straight.el to
install it for org-re-reveal.
This commit is contained in:
Henrik Lissner 2022-06-20 23:04:55 +02:00
parent 79f1d29722
commit cfb533043f
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -258,9 +258,8 @@ in."
(eval (doom-package-get name :ignore))
(plist-member (doom-package-get name :recipe) :local-repo)
(locate-library (symbol-name name))
;; (doom-package-built-in-p name)
;; (doom-package-installed-p name)
)
(doom-package-built-in-p name)
(doom-package-installed-p name))
do (print! (error "Missing emacs package: %S") name))
(let ((inhibit-message t))
(load doctor-file 'noerror 'nomessage)))