Remove git-squash

It commits untracked files! And uses `git add -A`.

https://github.com/sheerun/git-squash/issues/6
This commit is contained in:
Sridhar Ratnakumar 2024-11-28 17:17:35 -05:00
parent a042951d2a
commit 148374ba62
3 changed files with 0 additions and 36 deletions

View file

@ -2,7 +2,6 @@
{
home.packages = with pkgs; [
git-filter-repo
git-squash # https://github.com/sheerun/git-squash
];
programs.git = {

View file

@ -15,5 +15,4 @@ self: super: {
actualism-app = inputs.actualism-app.packages.${self.system}.default;
omnix = inputs.omnix.packages.${self.system}.default;
git-merge-and-delete = self.callPackage "${packages}/git-merge-and-delete.nix" { };
git-squash = self.callPackage "${packages}/git-squash.nix" { };
}

View file

@ -1,34 +0,0 @@
{ lib
, stdenv
, fetchFromGitHub
, bash
, git
}:
stdenv.mkDerivation {
pname = "git-squash";
version = "0.3.0";
src = fetchFromGitHub {
owner = "sheerun";
repo = "git-squash";
rev = "master";
sha256 = "sha256-yvufKIwjP7VcIzLi8mE228hN4jmaqk90c8oxJtkXEP8=";
};
nativeBuildInputs = [ bash git ];
installPhase = ''
mkdir -p $out/bin
cp git-squash $out/bin/git-squash
chmod +x $out/bin/git-squash
'';
meta = with lib; {
description = "A Git command for squashing commits";
homepage = "https://github.com/sheerun/git-squash";
license = licenses.mit; # Adjust if the actual license is different
platforms = platforms.all;
maintainers = [ ]; # You can add maintainers if needed
};
}