about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org13
1 files changed, 12 insertions, 1 deletions
diff --git a/config.org b/config.org index bad2d5e..9ab69f8 100644 --- a/config.org +++ b/config.org
@@ -194,7 +194,8 @@ So far, this is the best package manager I've used. It allows for /truly/ decla
194 194
195The one annoying thing is that this bootstrap code doesn't work on Windows for some reason. I'm too lazy to really try and figure out why, so when I need to bootstrap on Windows (pretty rare, TBH), I just [[https://github.com/raxod502/straight.el/archive/master.zip][download the master-branch zip file]] and extract it to =~/.emacs.d/straight/repos/=. 195The one annoying thing is that this bootstrap code doesn't work on Windows for some reason. I'm too lazy to really try and figure out why, so when I need to bootstrap on Windows (pretty rare, TBH), I just [[https://github.com/raxod502/straight.el/archive/master.zip][download the master-branch zip file]] and extract it to =~/.emacs.d/straight/repos/=.
196 196
197#+begin_src emacs-lisp :tangle early-init.el 197#+NAME: straight-bootstrap
198#+begin_src emacs-lisp :tangle no
198 (defvar bootstrap-version) 199 (defvar bootstrap-version)
199 (let ((bootstrap-file 200 (let ((bootstrap-file
200 (expand-file-name "straight/repos/straight.el/bootstrap.el" 201 (expand-file-name "straight/repos/straight.el/bootstrap.el"
@@ -210,6 +211,16 @@ The one annoying thing is that this bootstrap code doesn't work on Windows for s
210 (load bootstrap-file nil 'nomessage)) 211 (load bootstrap-file nil 'nomessage))
211#+end_src 212#+end_src
212 213
214** ... but first: override the definition of straight.el to use the =develop= branch
215
216For the KeePassXC bits later, I need the =develop= branch of straight, so I can pass a =:build= keyword. I can do this, but I have to override the recipe for =straight.el= itself. I do that here. For more information, see [[https://github.com/raxod502/straight.el#overriding-recipes][the README]].
217
218#+begin_src emacs-lisp :tangle early-init.el :noweb yes
219 (setq straight-repository-branch "develop")
220
221 <<straight-bootstrap>>
222#+end_src
223
213** Use [[https://jwiegley.github.io/use-package/][use-package]] 224** Use [[https://jwiegley.github.io/use-package/][use-package]]
214 225
215Like I said, =straight.el= hooks into =use-package= easily. These two lines get the latter to use the former by default. 226Like I said, =straight.el= hooks into =use-package= easily. These two lines get the latter to use the former by default.