Merge pull request #17673 from k0001/fix-16074

Fix perl package CatalystXScriptServerStarman (and indirectly, hydra)

authored by

Domen Kožar and committed by
GitHub
2e9a3c36 2095c594

+26
+22
pkgs/development/perl-modules/CatalystXScriptServerStarman-fork-arg.patch
··· 1 + diff --git a/lib/CatalystX/Script/Server/Starman.pm b/lib/CatalystX/Script/Server/Starman.pm 2 + index 670bd74..7b3bd2e 100644 3 + --- a/lib/CatalystX/Script/Server/Starman.pm 4 + +++ b/lib/CatalystX/Script/Server/Starman.pm 5 + @@ -9,7 +9,7 @@ our $VERSION = '0.02'; 6 + 7 + extends 'Catalyst::Script::Server'; 8 + 9 + -has '+fork' => ( default => 1, init_arg => undef ); 10 + +has '+fork' => ( default => 1 ); 11 + 12 + has [qw/ keepalive restart restart_delay restart_regex restart_directory/] => ( init_arg => undef, is => 'ro' ); 13 + 14 + @@ -70,7 +70,7 @@ CatalystX::Script::Server::Starman - Replace the development server with Starman 15 + 16 + -d --debug force debug mode 17 + -f --fork handle each request in a new process 18 + - (defaults to false) 19 + + (defaults to true) 20 + -? --help display this help and exits 21 + -h --host host (defaults to all) 22 + -p --port port (defaults to 3000)
+4
pkgs/top-level/perl-packages.nix
··· 1508 1508 url = mirror://cpan/authors/id/A/AB/ABRAXXA/CatalystX-Script-Server-Starman-0.02.tar.gz; 1509 1509 sha256 = "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"; 1510 1510 }; 1511 + patches = [ 1512 + # See Nixpkgs issues #16074 and #17624 1513 + ../development/perl-modules/CatalystXScriptServerStarman-fork-arg.patch 1514 + ]; 1511 1515 buildInputs = [ TestWWWMechanizeCatalyst ]; 1512 1516 propagatedBuildInputs = [ CatalystRuntime Moose namespaceautoclean Starman ]; 1513 1517 meta = {