Because straight don't read a package's original recipe when installed
through emacsmirror.
This commit is contained in:
Henrik Lissner 2021-06-02 19:37:09 -04:00
parent ed5c7a21d7
commit 617ab847c6

View file

@ -171,11 +171,6 @@ uses a straight or package.el command directly).")
(doom-log "Initializing recipes") (doom-log "Initializing recipes")
(mapc #'straight-use-recipes (mapc #'straight-use-recipes
'((org-elpa :local-repo nil) '((org-elpa :local-repo nil)
;; Give emacs-mirror higher priority than MELPA, because who knows
;; where MELPA packages come from.
(emacsmirror-mirror :type git :host github
:repo "emacs-straight/emacsmirror-mirror"
:build nil)
(melpa :type git :host github (melpa :type git :host github
:repo "melpa/melpa" :repo "melpa/melpa"
:build nil) :build nil)
@ -184,6 +179,9 @@ uses a straight or package.el command directly).")
:build nil) :build nil)
(el-get :type git :host github (el-get :type git :host github
:repo "dimitri/el-get" :repo "dimitri/el-get"
:build nil)
(emacsmirror-mirror :type git :host github
:repo "emacs-straight/emacsmirror-mirror"
:build nil))))) :build nil)))))
(defun doom--ensure-core-packages (packages) (defun doom--ensure-core-packages (packages)