Add hack to use non-profile paths

This unsets DOOMPROFILE from inside the profile loader, which should
result in Doom behaving as if we were not using profiles at all.

I'm marking this experimental in part because it feels like a hack, and
in part because this is not sufficient to fix `doom doctor`.
This commit is contained in:
Marien Zwart 2024-04-28 16:39:50 +10:00
parent 2babb2ed6a
commit e602ad8bed
No known key found for this signature in database
4 changed files with 15 additions and 3 deletions

View file

@ -17,6 +17,10 @@ its const-ness is not enforced but I'd prefer not to take advantage of that. I
also have not checked if writing the profile would work out of the box with this
approach.
`noProfileHack` unsets `DOOMPROFILE` from the profile loader. This feels like a
hack, but it does get us the usual `DOOMLOCALDIR`-relative `doom-cache-dir` and
friends back.
## Why put `doom-user-dir`/`DOOMDIR` in the Nix store?
Doom forces my hand. I would prefer for just `packages.el` and possibly