about summary refs log tree commit diff
path: root/tools/emacs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-19T01·39+0000
committerVincent Ambo <tazjin@google.com>2019-12-19T01·40+0000
commitc2f97577f700d3ac89a6192e5bf394ee1b141a81 (patch)
treefc315fbc197418d740fb4528d6fe485c99f2786b /tools/emacs
parent96794d86300129a40655a19e4dd1402eb15e123f (diff)
feat(emacs-pkgs): Introduce nix-util helper library r/197
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.
Diffstat (limited to 'tools/emacs')
-rw-r--r--tools/emacs/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix
index 9573a888cb2a..c44403e6d692 100644
--- a/tools/emacs/default.nix
+++ b/tools/emacs/default.nix
@@ -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 \