diff options
Diffstat (limited to '')
-rwxr-xr-x | pkgs/by-name/gi/git-edit-index/git-edit-index.sh (renamed from pkgs/sources/scripts/source/apps/git-edit-index.sh) | 0 | ||||
-rw-r--r-- | pkgs/by-name/gi/git-edit-index/package.nix | 19 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/sources/scripts/source/apps/git-edit-index.sh b/pkgs/by-name/gi/git-edit-index/git-edit-index.sh index e73dc53c..e73dc53c 100755 --- a/pkgs/sources/scripts/source/apps/git-edit-index.sh +++ b/pkgs/by-name/gi/git-edit-index/git-edit-index.sh 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 + ]; +} |