Merge pull request #95493 from Izorkin/nginx-unit
This commit is contained in:
commit
aeffd67cec
@ -120,9 +120,12 @@ in {
|
|||||||
ProtectHome = true;
|
ProtectHome = true;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
|
PrivateUsers = false;
|
||||||
ProtectHostname = true;
|
ProtectHostname = true;
|
||||||
|
ProtectClock = true;
|
||||||
ProtectKernelTunables = true;
|
ProtectKernelTunables = true;
|
||||||
ProtectKernelModules = true;
|
ProtectKernelModules = true;
|
||||||
|
ProtectKernelLogs = true;
|
||||||
ProtectControlGroups = true;
|
ProtectControlGroups = true;
|
||||||
RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ];
|
RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ];
|
||||||
LockPersonality = true;
|
LockPersonality = true;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, withPerldevel ? false, perldevel
|
, withPerldevel ? false, perldevel
|
||||||
, withRuby_2_5 ? false, ruby_2_5
|
, withRuby_2_5 ? false, ruby_2_5
|
||||||
, withRuby_2_6 ? true, ruby_2_6
|
, withRuby_2_6 ? true, ruby_2_6
|
||||||
, withRuby_2_7 ? true, ruby_2_7
|
, withRuby_2_7 ? false, ruby_2_7
|
||||||
, withSSL ? true, openssl ? null
|
, withSSL ? true, openssl ? null
|
||||||
, withIPv6 ? true
|
, withIPv6 ? true
|
||||||
, withDebug ? false
|
, withDebug ? false
|
||||||
@ -30,14 +30,14 @@ let
|
|||||||
php74-unit = php74.override phpConfig;
|
php74-unit = php74.override phpConfig;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "1.18.0";
|
version = "1.19.0";
|
||||||
pname = "unit";
|
pname = "unit";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nginx";
|
owner = "nginx";
|
||||||
repo = "unit";
|
repo = "unit";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0r2l3ra63qjjbpjzrmx75jp9fvz83yis4j3qxqdnmxm77psykwy8";
|
sha256 = "0k3q42q198sb0w6hyyymw92dbhz67axn6w6vnzr0d883xw3sva7k";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ which ];
|
nativeBuildInputs = [ which ];
|
||||||
|
Loading…
Reference in New Issue
Block a user