mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(cli): doom upgrade: void-variable straight-repository-branch
'doom upgrade' naively evaluates straight's recipe so it can delete it (so 'doom sync' will upgrade it), but the `straight-repository-branch` reference will error out for users updating Doom from before8cafbe4
to a commit after it, since its value now lives in `doom-straight`, which may not be loaded yet. Rather than further embed this hack (and because I don't want to spend more time on straight.el accommodations than I have to, since it'll be replaced with Elpaca soon), I simply replace the reference with its value. Fix: #8140 Amend:8cafbe4408
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
:type 'core
|
||||
:recipe `(:host github
|
||||
:repo "radian-software/straight.el"
|
||||
:branch ,straight-repository-branch
|
||||
:branch "develop"
|
||||
:local-repo "straight.el"
|
||||
:files ("straight*.el"))
|
||||
:pin "33fb4695066781c634ff1c3c81ba96e880deccf7")
|
||||
|
Reference in New Issue
Block a user