2021-02-27 19:39:26 +01:00
|
|
|
{ system ? builtins.currentSystem
|
2021-06-26 09:46:46 +02:00
|
|
|
, config ? { }
|
2021-02-27 19:39:26 +01:00
|
|
|
, pkgs ? import ../../.. { inherit system config; }
|
|
|
|
, php ? pkgs.php
|
2021-03-04 16:06:37 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
php' = php.buildEnv {
|
|
|
|
extensions = { enabled, all }: with all; enabled ++ [ apcu ];
|
|
|
|
};
|
2021-06-26 09:46:46 +02:00
|
|
|
in
|
|
|
|
{
|
2021-03-04 16:06:37 +01:00
|
|
|
fpm = import ./fpm.nix { inherit system pkgs; php = php'; };
|
|
|
|
httpd = import ./httpd.nix { inherit system pkgs; php = php'; };
|
|
|
|
pcre = import ./pcre.nix { inherit system pkgs; php = php'; };
|
2020-03-30 22:07:05 +02:00
|
|
|
}
|