diff options
author | Elis Hirwing <elis@hirwing.se> | 2020-08-10 19:47:23 +0200 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2020-08-10 22:28:12 +0200 |
commit | 6be7d1c176b80d8fb4e7e0b4c699cbd300d8ef61 (patch) | |
tree | 378aa1bd57afdbada1ca3fc4835bdafd4d57e688 /pkgs/servers/http/unit | |
parent | e6001db0f72b5be755b759298d111538c5b90365 (diff) | |
download | nixlib-6be7d1c176b80d8fb4e7e0b4c699cbd300d8ef61.tar nixlib-6be7d1c176b80d8fb4e7e0b4c699cbd300d8ef61.tar.gz nixlib-6be7d1c176b80d8fb4e7e0b4c699cbd300d8ef61.tar.bz2 nixlib-6be7d1c176b80d8fb4e7e0b4c699cbd300d8ef61.tar.lz nixlib-6be7d1c176b80d8fb4e7e0b4c699cbd300d8ef61.tar.xz nixlib-6be7d1c176b80d8fb4e7e0b4c699cbd300d8ef61.tar.zst nixlib-6be7d1c176b80d8fb4e7e0b4c699cbd300d8ef61.zip |
php: Drop PHP 7.2 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 fbb7768dcbae..913ed201f48e 100644 --- a/pkgs/servers/http/unit/default.nix +++ b/pkgs/servers/http/unit/default.nix @@ -1,7 +1,6 @@ { stdenv, fetchFromGitHub, nixosTests, which , withPython2 ? false, python2 , withPython3 ? true, python3, ncurses -, withPHP72 ? false, php72 , withPHP73 ? false, php73 , withPHP74 ? true, php74 , withPerl528 ? false, perl528 @@ -27,7 +26,6 @@ let fpmSupport = false; }; - php72-unit = php72.override phpConfig; php73-unit = php73.override phpConfig; php74-unit = php74.override phpConfig; @@ -47,7 +45,6 @@ in stdenv.mkDerivation rec { buildInputs = [ ] ++ optional withPython2 python2 ++ optionals withPython3 [ python3 ncurses ] - ++ optional withPHP72 php72-unit ++ optional withPHP73 php73-unit ++ optional withPHP74 php74-unit ++ optional withPerl528 perl528 @@ -68,14 +65,12 @@ in stdenv.mkDerivation rec { ++ optional withDebug "--debug"; # Optionally add the PHP derivations used so they can be addressed in the configs - usedPhp72 = optionals withPHP72 php72-unit; 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 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"} |