From 0b9342589b8286ce3be0e6dc0078da1b96ed2592 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 3 Nov 2024 14:12:41 -0500 Subject: [PATCH] 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 before 8cafbe4 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: 8cafbe4408e7 --- lisp/packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/packages.el b/lisp/packages.el index 96d04aa3a..43cbc67b6 100644 --- a/lisp/packages.el +++ b/lisp/packages.el @@ -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")