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:
Henrik Lissner 2019-11-23 01:44:49 -05:00
parent 5608ba7236
commit 5ece51a2a6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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