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