diff --git a/pkgs/default.nix b/pkgs/default.nix index 6a1b539..a75778d 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -10,5 +10,13 @@ crane = inputs.crane.lib.${system}; fenix = inputs'.fenix.packages; }; + + packages.git-commit-last = pkgs.writeShellApplication { + name = "git-commit-last"; + text = '' + GITDIR="$(git rev-parse --git-dir)" + git commit -eF "$GITDIR/COMMIT_EDITMSG" + ''; + }; }; }