git-fixup: format, add updateScript
This commit is contained in:
parent
ead36718eb
commit
c3058c28f2
@ -1,4 +1,14 @@
|
||||
{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper, git, coreutils, gnused, gnugrep }:
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
git,
|
||||
coreutils,
|
||||
gnused,
|
||||
gnugrep,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "git-fixup";
|
||||
@ -28,9 +38,18 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/git-fixup \
|
||||
--prefix PATH : "${lib.makeBinPath [ git coreutils gnused gnugrep ]}"
|
||||
--prefix PATH : "${
|
||||
lib.makeBinPath [
|
||||
git
|
||||
coreutils
|
||||
gnused
|
||||
gnugrep
|
||||
]
|
||||
}"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Fighting the copy-paste element of your rebase workflow";
|
||||
homepage = "https://github.com/keis/git-fixup";
|
||||
|
Loading…
Reference in New Issue
Block a user