2021-02-27 18:39:26 +00:00
|
|
|
{ system ? builtins.currentSystem
|
2021-06-26 07:46:46 +00:00
|
|
|
, config ? { }
|
2021-02-27 18:39:26 +00:00
|
|
|
, pkgs ? import ../../.. { inherit system config; }
|
|
|
|
, php ? pkgs.php
|
2021-03-04 15:06:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
php' = php.buildEnv {
|
|
|
|
extensions = { enabled, all }: with all; enabled ++ [ apcu ];
|
|
|
|
};
|
2021-06-26 07:46:46 +00:00
|
|
|
in
|
|
|
|
{
|
2021-03-04 15:06:37 +00: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 20:07:05 +00:00
|
|
|
}
|