From c2f97577f700d3ac89a6192e5bf394ee1b141a81 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 19 Dec 2019 01:39:22 +0000 Subject: 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. --- tools/emacs/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools/emacs/default.nix') diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix index 9573a888cb..c44403e6d6 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 \ -- cgit 1.4.1