Merge pull request #83858 from ak3n/fix_starman_darwin

perlPackages.starman: add shortenPerlShebang on darwin
This commit is contained in:
Jörg Thalheim 2020-04-08 16:38:30 +01:00 committed by GitHub
commit b3ba16771d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16722,7 +16722,12 @@ let
sha256 = "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h";
};
buildInputs = [ LWP ModuleBuildTiny TestRequires TestTCP ];
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
propagatedBuildInputs = [ DataDump HTTPParserXS NetServer Plack ];
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/starman
'';
doCheck = false; # binds to various TCP ports
meta = {
homepage = https://github.com/miyagawa/Starman;