Merge pull request #113331 from xworld21/shorten-shebang-NYTProf

perlPackages.DevelNYTProf: use shortenPerlShebang on darwin
This commit is contained in:
Stig
2021-02-16 21:39:21 +01:00
committed by GitHub

View File

@@ -6144,6 +6144,10 @@ let
license = with lib.licenses; [ artistic1 gpl1Plus ];
};
buildInputs = [ TestDifferences ];
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/*
'';
};
DevelOverloadInfo = buildPerlPackage {