Merge pull request #113227 from xworld21/fix-perltidy-shebang
perlPackages.PerlTidy: use shortenPerlShebang on darwin
This commit is contained in:
commit
d90f53743b
@ -16630,6 +16630,10 @@ let
|
|||||||
description = "Indent and reformat perl scripts";
|
description = "Indent and reformat perl scripts";
|
||||||
license = lib.licenses.gpl2Plus;
|
license = lib.licenses.gpl2Plus;
|
||||||
};
|
};
|
||||||
|
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||||
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
|
shortenPerlShebang $out/bin/perltidy
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
PHPSerialization = buildPerlPackage {
|
PHPSerialization = buildPerlPackage {
|
||||||
|
Loading…
Reference in New Issue
Block a user