perlPackages.GitAutoFixup: fix too long shebang under darwin

This commit is contained in:
Samuel Tschiedel 2021-03-18 16:36:50 -03:00
parent 82b3b20d72
commit e203523543
No known key found for this signature in database
GPG Key ID: AAAF89E3D2C70F09
1 changed files with 4 additions and 0 deletions

View File

@ -8682,6 +8682,10 @@ let
url = "mirror://cpan/authors/id/T/TO/TORBIAK/App-Git-Autofixup-0.003001.tar.gz";
sha256 = "1q7im0zj238k5agwi7d1mz26a8r0wrxwfwp1l8n5k777gx3b5xhp";
};
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/git-autofixup
'';
meta = {
maintainers = [ maintainers.DamienCassou ];
description = "Create fixup commits for topic branches";