2021-02-27 18:39:26 +00:00
|
|
|
{ system ? builtins.currentSystem
|
|
|
|
, config ? {}
|
|
|
|
, 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 ];
|
|
|
|
};
|
|
|
|
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 21:07:05 +01:00
|
|
|
}
|