Merge pull request #83858 from ak3n/fix_starman_darwin
perlPackages.starman: add shortenPerlShebang on darwin
This commit is contained in:
commit
b3ba16771d
@ -16722,7 +16722,12 @@ let
|
|||||||
sha256 = "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h";
|
sha256 = "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h";
|
||||||
};
|
};
|
||||||
buildInputs = [ LWP ModuleBuildTiny TestRequires TestTCP ];
|
buildInputs = [ LWP ModuleBuildTiny TestRequires TestTCP ];
|
||||||
|
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||||
propagatedBuildInputs = [ DataDump HTTPParserXS NetServer Plack ];
|
propagatedBuildInputs = [ DataDump HTTPParserXS NetServer Plack ];
|
||||||
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
shortenPerlShebang $out/bin/starman
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = false; # binds to various TCP ports
|
doCheck = false; # binds to various TCP ports
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/miyagawa/Starman;
|
homepage = https://github.com/miyagawa/Starman;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user