unit: 1.26.1 -> 1.27.0

This commit is contained in:
Izorkin
2022-07-15 22:46:25 +03:00
parent 75baa28736
commit 66b6475aa8
+6 -2
View File
@@ -26,14 +26,14 @@ let
php80-unit = php80.override phpConfig;
in stdenv.mkDerivation rec {
version = "1.26.1";
version = "1.27.0";
pname = "unit";
src = fetchFromGitHub {
owner = "nginx";
repo = pname;
rev = version;
sha256 = "sha256-rTT7EJSHepGOwNXVqlOBOhZayZQXyNo3B2Oa1oLf2FI=";
sha256 = "sha256-H/WIrCyocEO/HZfVMyI9IwD565JsUIzC8n1qUYmCvWc=";
};
nativeBuildInputs = [ which ];
@@ -68,6 +68,10 @@ in stdenv.mkDerivation rec {
${optionalString withRuby_2_7 "./configure ruby --module=ruby27 --ruby=${ruby_2_7}/bin/ruby"}
'';
postInstall = ''
rmdir $out/state
'';
passthru.tests.unit-php = nixosTests.unit-php;
meta = {