mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
perlPackages.DevelNYTProf: use shortenPerlShebang on darwin
The shebang must be shortened to make the executable work on macOS.
This commit is contained in:
parent
b8878b950f
commit
c3ee3be722
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user