about summary refs log tree commit diff
path: root/tools/emacs-pkgs/nix-util/default.nix
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-pkgs/nix-util/default.nix
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-pkgs/nix-util/default.nix')
-rw-r--r--tools/emacs-pkgs/nix-util/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/emacs-pkgs/nix-util/default.nix b/tools/emacs-pkgs/nix-util/default.nix
new file mode 100644
index 000000000000..0e314ae71966
--- /dev/null
+++ b/tools/emacs-pkgs/nix-util/default.nix
@@ -0,0 +1,7 @@
+{ pkgs, ... }:
+
+pkgs.third_party.emacsPackagesNg.trivialBuild rec {
+  pname = "nix-util";
+  version = "1.0";
+  src = ./nix-util.el;
+}