Merge pull request #113227 from xworld21/fix-perltidy-shebang

perlPackages.PerlTidy: use shortenPerlShebang on darwin
This commit is contained in:
Jörg Thalheim 2021-02-16 07:04:38 +00:00 committed by GitHub
commit d90f53743b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16630,6 +16630,10 @@ let
description = "Indent and reformat perl scripts";
license = lib.licenses.gpl2Plus;
};
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/perltidy
'';
};
PHPSerialization = buildPerlPackage {