diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-25 18:02:15 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-25 18:02:15 +0200 |
commit | c6e29c9ebef761f27829ed991700550b1fd1e811 (patch) | |
tree | 77a1a786068070df8894c924dbb64e04927dda68 /pkgs/by-name/gi/git-cleanup/package.nix | |
parent | refactor(git/scripts): Upgrade `git-cm` to a 'real' package (diff) | |
download | nixos-config-c6e29c9ebef761f27829ed991700550b1fd1e811.tar.gz nixos-config-c6e29c9ebef761f27829ed991700550b1fd1e811.zip |
feat(pkgs): Add a `git-cleanup` script
Diffstat (limited to '')
-rw-r--r-- | pkgs/by-name/gi/git-cleanup/package.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/by-name/gi/git-cleanup/package.nix b/pkgs/by-name/gi/git-cleanup/package.nix new file mode 100644 index 00000000..e9aab772 --- /dev/null +++ b/pkgs/by-name/gi/git-cleanup/package.nix @@ -0,0 +1,15 @@ +{ + sysLib, + git, + gnused, +}: +sysLib.writeShellScript { + name = "git-cleanup"; + src = ./git-cleanup.sh; + keepPath = false; + generateCompletions = true; + dependencies = [ + git + gnused + ]; +} |