0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

unit: 1.26.1 -> 1.27.0

This commit is contained in:
Izorkin 2022-06-03 09:23:11 +03:00
parent 75baa28736
commit 66b6475aa8
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

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 = {