refactor(wpcarro/emacs): Drop support for vendor directory

I don't think this is worth lugging around anymore.

Additionally: drop usage of `builtins.path`.

I originally started using `builtins.path` because a blog post about Nix style
recommended it (I cannot remember which), but I'm starting to think this is a
bit too verbose for my taste, and I forget what the benefits are.

Change-Id: If6579f28bac56ad7afec2c5d5a5e4828601c93c3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5083
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2022-01-27 22:15:40 -08:00 committed by clbot
parent 45da3bce86
commit cdc18c025a
6 changed files with 2 additions and 14713 deletions

View file

@ -119,30 +119,8 @@ let
emojify
]));
vendorDir = path {
path = ./.emacs.d/vendor;
name = "emacs-vendor";
};
# TODO(wpcarro): byte-compile these by packaging each as an Elisp library.
wpcDir = path {
path = ./.emacs.d/wpc;
name = "emacs-libs";
};
wpcPackageEl = path {
path = ./.emacs.d/wpc/wpc-package.el;
name = "wpc-package.el";
};
initEl = path {
path = ./.emacs.d/init.el;
name = "init.el";
};
loadPath = concatStringsSep ":" [
wpcDir
vendorDir
./.emacs.d/wpc
# TODO(wpcarro): Explain why the trailing ":" is needed.
"${wpcarrosEmacs.deps}/share/emacs/site-lisp:"
];
@ -162,7 +140,7 @@ let
--no-init-file \
--no-site-file \
--no-site-lisp \
--load ${initEl} \
--load ${./.emacs.d/init.el} \
"$@"
'';
in {