Commit graph

9 commits

Author SHA1 Message Date
Marien Zwart
701298497c
Write some documentation
Motivated by noticing phpactor breaks the build, and not having anywhere
obvious to write down why...
2024-04-01 00:01:13 +11:00
Marien Zwart
14686461b2
Load package.el autoloads from Doom profile
This should get us to the point of being usable.
2024-03-31 21:58:59 +11:00
Marien Zwart
9d2bf9c263
Symlink instead of copy user DOOMDIR 2024-03-31 20:46:53 +11:00
Marien Zwart
17eecff29e
Verify no build directories leak into the profile 2024-03-31 20:44:24 +11:00
Marien Zwart
0f80026223
Pass profile dirs as args instead of profiles.el
Writing profiles.el was borderline unreadable.
`doom-profiles-autodetect` was effectively just reading in the entire
file: accepting the paths we want in the profile as individual args and
putting them together on the Emacs side is easy enough.

Accidentally fixes a bug: `user-emacs-directory` should end in a
directory separator. We now get the right value for free by using the
path we're running Doom CLI out of.
2024-03-31 17:28:34 +11:00
Marien Zwart
ffe2eae6cb
Make output binary name configurable 2024-03-31 16:51:00 +11:00
Marien Zwart
03eaf7517f
Pull commentary into separate documentation 2024-03-31 16:47:48 +11:00
Marien Zwart
ca42470bc7
Tweak profile directory layout
doom-profile-data-dir is for the current profile, naming it
"profiles" (plural) made no sense.

Also move the loader into its own subdir so it's more obvious what the
two init.29.elc files are.
2024-03-31 15:44:27 +11:00
Marien Zwart
6c260297ee
Rename package.nix to doom.nix 2024-03-31 15:39:43 +11:00
Renamed from package.nix (Browse further)