This is what I have in my ~/.doom.d/config.el
:
(use-package sonic-pi
:init
(setq sonic-pi-path "~/bin/sp32/sonic-pi/")
)
Do not be confused by that, I have a self-compiled version 3.2 under Linux in ~/bin/sp32/
Additionally you will need in ~/.doom.d/package.el
:
(package! sonic-pi
:recipe (:host github :repo "repl-electric/sonic-pi.el"))
As to the missing elc file:
I am by no means expert concerning doom
; I don’t know about the logic of the internal doom optimisation features but I guess, this is what’s it about.
Did the doom installation run through without errors? Then I guess you should have something like that in .emacs.d/.local
:
repos
does contain everything from (m)elpa (such as the package sonic-pi
) and build
contains 1. links to the files in repos
(e. g. to sonic-pi.Well, I am by no means expert concerning
doomel
) and lisp compiled *.elc
-files. This is obviously a result of doom’s way to optimize package loading and startup time.
I am afraid I can’t say more about that …