perlPackages.PerlTidy: use shortenPerlShebang on darwin
The shebang must be shortened to make the executable work on macOS.
This commit is contained in:
parent
69d5df6303
commit
8cb0cd4a2f
|
@ -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