Merge pull request #116799 from aisamu/master

perlPackages.GitAutoFixup: fix too long shebang under darwin
This commit is contained in:
Stig 2021-03-20 23:57:46 +01:00 committed by GitHub
commit 739df23674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";