mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
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:
parent
a042951d2a
commit
148374ba62
3 changed files with 0 additions and 36 deletions
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
home.packages = with pkgs; [
|
||||
git-filter-repo
|
||||
git-squash # https://github.com/sheerun/git-squash
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
|
|
|
|||
|
|
@ -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" { };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue