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
commit 1fa2eb67c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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 {