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.
This commit is contained in:
parent
87267ca824
commit
24ee7b6838
1 changed files with 1 additions and 0 deletions
1
init.el
1
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue