feat(emacs-pkgs): Introduce nix-util helper library

Adds an Emacs library with so far a grand total of one helper function
that can prefetch and insert a git repository at point.

This is very useful for the various Go repo imports I am doing at the
moment.
This commit is contained in:
Vincent Ambo 2019-12-19 01:39:22 +00:00
parent 96794d8630
commit c2f97577f7
3 changed files with 80 additions and 2 deletions

View file

@ -83,8 +83,12 @@ let
]) ++
# Custom packages
[ carp-mode localPackages.dottime localPackages.term-switcher ]
)));
(with localPackages; [
carp-mode
dottime
nix-util
term-switcher
]))));
in lib.fix(self: l: f: third_party.writeShellScriptBin "tazjins-emacs" ''
exec ${tazjinsEmacs f}/bin/emacs \
--debug-init \