diff options
author | Elis Hirwing <elis@hirwing.se> | 2021-06-03 15:06:06 +0200 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2021-06-04 09:26:54 +0200 |
commit | 68eb5305ac93adb1cce777c0ae73fd29eccb6973 (patch) | |
tree | b5094ede67986e0d787ac0da47f2a0a31125fd69 /pkgs/servers/http | |
parent | 42e9a2ccfab2a96d28c3c164a6cf41fb6f769de5 (diff) | |
download | nixpkgs-68eb5305ac93adb1cce777c0ae73fd29eccb6973.tar nixpkgs-68eb5305ac93adb1cce777c0ae73fd29eccb6973.tar.gz nixpkgs-68eb5305ac93adb1cce777c0ae73fd29eccb6973.tar.bz2 nixpkgs-68eb5305ac93adb1cce777c0ae73fd29eccb6973.tar.lz nixpkgs-68eb5305ac93adb1cce777c0ae73fd29eccb6973.tar.xz nixpkgs-68eb5305ac93adb1cce777c0ae73fd29eccb6973.tar.zst nixpkgs-68eb5305ac93adb1cce777c0ae73fd29eccb6973.zip |
php: Drop PHP 7.3 support
PHP 7.3 won't be supported by upstream for the entire life cycle of the 21.11 release. Also drop the pcre' alias since it isn't needed anymore since we don't need different pcre versions anymore.
Diffstat (limited to 'pkgs/servers/http')
-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 e8d51f9efff..d8e46231b74 100644 --- a/pkgs/servers/http/unit/default.nix +++ b/pkgs/servers/http/unit/default.nix @@ -2,7 +2,6 @@ , pcre2 , withPython2 ? false, python2 , withPython3 ? true, python3, ncurses -, withPHP73 ? false, php73 , withPHP74 ? true, php74 , withPerl530 ? false, perl530 , withPerl532 ? true, perl532 @@ -26,7 +25,6 @@ let fpmSupport = false; }; - php73-unit = php73.override phpConfig; php74-unit = php74.override phpConfig; in stdenv.mkDerivation rec { @@ -45,7 +43,6 @@ in stdenv.mkDerivation rec { buildInputs = [ pcre2.dev ] ++ optional withPython2 python2 ++ optionals withPython3 [ python3 ncurses ] - ++ optional withPHP73 php73-unit ++ optional withPHP74 php74-unit ++ optional withPerl530 perl530 ++ optional withPerl532 perl532 @@ -64,13 +61,11 @@ in stdenv.mkDerivation rec { ++ optional withDebug "--debug"; # Optionally add the PHP derivations used so they can be addressed in the configs - usedPhp73 = optionals withPHP73 php73-unit; usedPhp74 = optionals withPHP74 php74-unit; postConfigure = '' ${optionalString withPython2 "./configure python --module=python2 --config=python2-config --lib-path=${python2}/lib"} ${optionalString withPython3 "./configure python --module=python3 --config=python3-config --lib-path=${python3}/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 withPerl530 "./configure perl --module=perl530 --perl=${perl530}/bin/perl"} ${optionalString withPerl532 "./configure perl --module=perl532 --perl=${perl532}/bin/perl"} |