diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index de618934d40..620c4aeeb6f 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -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 {