diff options
author | Elis Hirwing <elis@hirwing.se> | 2022-05-25 18:27:05 +0200 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2022-06-08 18:08:48 +0200 |
commit | d6ec38508d1f0c1b6318b3788c45f86aac75e860 (patch) | |
tree | ab57777ba36afc20ddb7493ce21b23b35818915d /pkgs/servers/http/unit | |
parent | 00fa9e195eb2d747447f89b8bde3a24a54e647b7 (diff) | |
download | nixlib-d6ec38508d1f0c1b6318b3788c45f86aac75e860.tar nixlib-d6ec38508d1f0c1b6318b3788c45f86aac75e860.tar.gz nixlib-d6ec38508d1f0c1b6318b3788c45f86aac75e860.tar.bz2 nixlib-d6ec38508d1f0c1b6318b3788c45f86aac75e860.tar.lz nixlib-d6ec38508d1f0c1b6318b3788c45f86aac75e860.tar.xz nixlib-d6ec38508d1f0c1b6318b3788c45f86aac75e860.tar.zst nixlib-d6ec38508d1f0c1b6318b3788c45f86aac75e860.zip |
unit: Drop PHP 7.4 support
Diffstat (limited to 'pkgs/servers/http/unit')
-rw-r--r-- | pkgs/servers/http/unit/default.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/servers/http/unit/default.nix b/pkgs/servers/http/unit/default.nix index 4db762ec40d4..43617f405760 100644 --- a/pkgs/servers/http/unit/default.nix +++ b/pkgs/servers/http/unit/default.nix @@ -1,7 +1,6 @@ { lib, stdenv, fetchFromGitHub, nixosTests, which , pcre2 , withPython3 ? true, python3, ncurses -, withPHP74 ? false, php74 , withPHP80 ? true, php80 , withPerl532 ? false, perl532 , withPerl534 ? true, perl534 @@ -24,7 +23,6 @@ let fpmSupport = false; }; - php74-unit = php74.override phpConfig; php80-unit = php80.override phpConfig; in stdenv.mkDerivation rec { @@ -42,7 +40,6 @@ in stdenv.mkDerivation rec { buildInputs = [ pcre2.dev ] ++ optionals withPython3 [ python3 ncurses ] - ++ optional withPHP74 php74-unit ++ optional withPHP80 php80-unit ++ optional withPerl532 perl532 ++ optional withPerl534 perl534 @@ -60,12 +57,10 @@ in stdenv.mkDerivation rec { ++ optional withDebug "--debug"; # Optionally add the PHP derivations used so they can be addressed in the configs - usedPhp74 = optionals withPHP74 php74-unit; usedPhp80 = optionals withPHP80 php80-unit; postConfigure = '' ${optionalString withPython3 "./configure python --module=python3 --config=python3-config --lib-path=${python3}/lib"} - ${optionalString withPHP74 "./configure php --module=php74 --config=${php74-unit.unwrapped.dev}/bin/php-config --lib-path=${php74-unit}/lib"} ${optionalString withPHP80 "./configure php --module=php80 --config=${php80-unit.unwrapped.dev}/bin/php-config --lib-path=${php80-unit}/lib"} ${optionalString withPerl532 "./configure perl --module=perl532 --perl=${perl532}/bin/perl"} ${optionalString withPerl534 "./configure perl --module=perl534 --perl=${perl534}/bin/perl"} |