mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Prevent straight recipe lookup errors #2104
Errors like 'Could not find package emacsmirror-mirror in recipe repositories' occur because I assumed that straight--reset-caches would unset `straight-recipe-repositories`. I'm not sure if that was ever the case, but it isn't now.
This commit is contained in:
@ -202,6 +202,7 @@ necessary package metadata is initialized and available for them."
|
|||||||
(doom-ensure-straight)
|
(doom-ensure-straight)
|
||||||
(require 'straight))
|
(require 'straight))
|
||||||
(straight--reset-caches)
|
(straight--reset-caches)
|
||||||
|
(setq straight-recipe-repositories nil)
|
||||||
(mapc #'straight-use-recipes doom-core-package-sources)
|
(mapc #'straight-use-recipes doom-core-package-sources)
|
||||||
(straight-register-package
|
(straight-register-package
|
||||||
`(straight :type git :host github
|
`(straight :type git :host github
|
||||||
|
Reference in New Issue
Block a user