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:
parent
5608ba7236
commit
5ece51a2a6
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ necessary package metadata is initialized and available for them."
|
|||
(doom-ensure-straight)
|
||||
(require 'straight))
|
||||
(straight--reset-caches)
|
||||
(setq straight-recipe-repositories nil)
|
||||
(mapc #'straight-use-recipes doom-core-package-sources)
|
||||
(straight-register-package
|
||||
`(straight :type git :host github
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue