...by moving the existing hack from the CLI to init.el. It's not really necessary to do this as early as init.el, but I'm coming around to using init.el modifications as an alternative to using Doom's profile loader. So we might as well do this in the same place. This is not sufficient to make doom/help-packages work, but gets us one step closer...
15 lines
530 B
EmacsLisp
15 lines
530 B
EmacsLisp
;;; pre-init.el -*- lexical-binding: t; -*-
|
|
|
|
;; Added to init.el by nix-doom-emacs-unstraightened
|
|
|
|
(defadvice! nix-doom-skip-core-packages (&rest _)
|
|
"HACK: don't install straight and core packages.
|
|
|
|
`doom-initialize-core-packages' would no-op out if
|
|
`straight-recipe-repositories' is set, but we do not want to set
|
|
it. Just skip it entirely."
|
|
:override #'doom-initialize-core-packages
|
|
(doom-log "Assuming straight was already initialized"))
|
|
|
|
;; nix-doom-emacs-unstraightened additions end here.
|
|
;; Original init.el follows.
|