Load non-packages.el autoloads

We were only pulling in autoloads files for packages installed via
packages.el. This was not that noticeable because all pinned packages
without custom derivations end up installed that way, but it does affect
extra packages (including the one pointed out in #11).

Try to fix this by including autoloads files in the top-level site-lisp
directory from emacsWithPackages.
This commit is contained in:
Marien Zwart 2024-06-22 13:30:32 +10:00
parent b28f009ef7
commit fa6fe4cf93
No known key found for this signature in database
5 changed files with 27 additions and 2 deletions

View file

@ -45,7 +45,8 @@ if [[ -n "$profileName" ]]; then
export HOME=$(mktemp -d)
export DOOMPROFILE="$profileName";
fi
$runtimeShell $doomSource/bin/doomscript $buildProfile
$runtimeShell $doomSource/bin/doomscript $buildProfile \
-l $deps/share/emacs/site-lisp
# Similar to audit-tmpdir.sh in nixpkgs.
if grep -q -F "$TMPDIR/" -r $out; then