about summary refs log tree commit diff
path: root/pkgs/servers/http/unit
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2020-04-16 22:54:57 +0300
committerIzorkin <izorkin@elven.pw>2020-05-06 12:27:13 +0300
commitdc0260f7dabf55814b1ca3c37a40ace237ad1fde (patch)
tree366cc4b58427878f0ba7b3593c580347d470c0e9 /pkgs/servers/http/unit
parent866f6dd677ac8aa2c32f90d1b989a8444882dc9e (diff)
downloadnixlib-dc0260f7dabf55814b1ca3c37a40ace237ad1fde.tar
nixlib-dc0260f7dabf55814b1ca3c37a40ace237ad1fde.tar.gz
nixlib-dc0260f7dabf55814b1ca3c37a40ace237ad1fde.tar.bz2
nixlib-dc0260f7dabf55814b1ca3c37a40ace237ad1fde.tar.lz
nixlib-dc0260f7dabf55814b1ca3c37a40ace237ad1fde.tar.xz
nixlib-dc0260f7dabf55814b1ca3c37a40ace237ad1fde.tar.zst
nixlib-dc0260f7dabf55814b1ca3c37a40ace237ad1fde.zip
unit: add php 7.4
Diffstat (limited to 'pkgs/servers/http/unit')
-rw-r--r--pkgs/servers/http/unit/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/servers/http/unit/default.nix b/pkgs/servers/http/unit/default.nix
index 950dd0c9b190..407882f176e6 100644
--- a/pkgs/servers/http/unit/default.nix
+++ b/pkgs/servers/http/unit/default.nix
@@ -2,7 +2,8 @@
 , withPython2 ? false, python2
 , withPython3 ? true, python3, ncurses
 , withPHP72 ? false, php72
-, withPHP73 ? true, php73
+, withPHP73 ? false, php73
+, withPHP74 ? true, php74
 , withPerl528 ? false, perl528
 , withPerl530 ? true, perl530
 , withPerldevel ? false, perldevel
@@ -28,6 +29,8 @@ let
 
   php72-unit = php72.override phpConfig;
   php73-unit = php73.override phpConfig;
+  php74-unit = php74.override phpConfig;
+
 in stdenv.mkDerivation rec {
   version = "1.17.0";
   pname = "unit";
@@ -46,6 +49,7 @@ in stdenv.mkDerivation rec {
     ++ optionals withPython3 [ python3 ncurses ]
     ++ optional withPHP72 php72-unit
     ++ optional withPHP73 php73-unit
+    ++ optional withPHP73 php74-unit
     ++ optional withPerl528 perl528
     ++ optional withPerl530 perl530
     ++ optional withPerldevel perldevel
@@ -68,6 +72,7 @@ in stdenv.mkDerivation rec {
     ${optionalString withPython3    "./configure python --module=python3  --config=${python3}/bin/python3-config  --lib-path=${python3}/lib"}
     ${optionalString withPHP72      "./configure php    --module=php72    --config=${php72-unit.unwrapped.dev}/bin/php-config --lib-path=${php72-unit}/lib"}
     ${optionalString withPHP73      "./configure php    --module=php73    --config=${php73-unit.unwrapped.dev}/bin/php-config --lib-path=${php73-unit}/lib"}
+    ${optionalString withPHP74      "./configure php    --module=php74    --config=${php74-unit.unwrapped.dev}/bin/php-config --lib-path=${php74-unit}/lib"}
     ${optionalString withPerl528    "./configure perl   --module=perl528  --perl=${perl528}/bin/perl"}
     ${optionalString withPerl530    "./configure perl   --module=perl530  --perl=${perl530}/bin/perl"}
     ${optionalString withPerldevel  "./configure perl   --module=perldev  --perl=${perldevel}/bin/perl"}