about summary refs log tree commit diff stats
path: root/pkgs/by-name/gi/git-edit-index/package.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/gi/git-edit-index/package.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/by-name/gi/git-edit-index/package.nix b/pkgs/by-name/gi/git-edit-index/package.nix
new file mode 100644
index 00000000..8ac085bf
--- /dev/null
+++ b/pkgs/by-name/gi/git-edit-index/package.nix
@@ -0,0 +1,19 @@
+{
+  sysLib,
+  git,
+  gnused,
+}:
+sysLib.writeShellScript {
+  name = "git-edit-index";
+  src = ./git-edit-index.sh;
+  generateCompletions = true;
+
+  # `git-edit-index` starts neovim, wich might want to shell out from
+  keepPath = true;
+
+  dependencies = [
+    git
+    gnused
+    # $EDITOR
+  ];
+}