Add shortenPerlShebang for starman on darwin
This commit is contained in:
parent
1504df58e2
commit
902dbdda4f
@ -16692,7 +16692,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