Fix doom//packages-update not updating dependencies
This commit is contained in:
parent
400c7cbfa4
commit
57b2b5c546
1 changed files with 9 additions and 10 deletions
|
@ -140,16 +140,15 @@ Used by `doom//packages-update'."
|
||||||
(require 'async)
|
(require 'async)
|
||||||
(let (quelpa-pkgs elpa-pkgs)
|
(let (quelpa-pkgs elpa-pkgs)
|
||||||
;; Separate quelpa from elpa packages
|
;; Separate quelpa from elpa packages
|
||||||
(dolist (pkg (doom-get-packages t))
|
(dolist (pkg (mapcar #'car package-alist))
|
||||||
(let ((sym (car pkg)))
|
(when (and (or (not (doom-package-prop pkg :freeze))
|
||||||
(when (and (or (not (doom-package-prop sym :freeze))
|
include-frozen-p)
|
||||||
include-frozen-p)
|
(not (doom-package-prop pkg :ignore))
|
||||||
(not (doom-package-prop sym :ignore))
|
(not (doom-package-different-backend-p pkg)))
|
||||||
(not (doom-package-different-backend-p sym)))
|
(push pkg
|
||||||
(push sym
|
(if (eq (doom-package-backend pkg) 'quelpa)
|
||||||
(if (eq (doom-package-backend sym) 'quelpa)
|
quelpa-pkgs
|
||||||
quelpa-pkgs
|
elpa-pkgs))))
|
||||||
elpa-pkgs)))))
|
|
||||||
;; The bottleneck in this process is quelpa's version checks, so check them
|
;; The bottleneck in this process is quelpa's version checks, so check them
|
||||||
;; asynchronously.
|
;; asynchronously.
|
||||||
(let (futures)
|
(let (futures)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue