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
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue