From 24ee7b6838e6d5d8337b8e7ba222d37d189792e8 Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Sun, 28 Apr 2024 20:09:06 +1000 Subject: [PATCH] Actually load straight when asked to initialize it `straight--load-build-cache` is not autoloaded, so we fail if it has not been loaded yet. Apparently it usually is when we hit this override interactively, but Doom CLI can call our override early enough we need this. --- init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/init.el b/init.el index 4958548..073c23e 100644 --- a/init.el +++ b/init.el @@ -30,6 +30,7 @@ it. Just skip it entirely." ;; doom-initialize-core-packages normally registers recipes, which loads the ;; build cache by side effect, which leaves straight--build-cache available ;; afterwards. Doom assumes this cache is available, so force a load here. + (require 'straight) ;; straight-load-build-cache is not autoloaded. (straight--load-build-cache)) (after! doom-packages