mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
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";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang $out/bin/perltidy
|
||||
'';
|
||||
};
|
||||
|
||||
PHPSerialization = buildPerlPackage {
|
||||
|
Loading…
Reference in New Issue
Block a user