From 5ece51a2a6d66f551ae8a9bf1233afe85e6a37c4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 23 Nov 2019 01:44:49 -0500 Subject: [PATCH] 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. --- core/core-packages.el | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-packages.el b/core/core-packages.el index b21e9518e..726510784 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -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